A wrapper for sshpass
Project description
spw
A wrapper for sshpass
To install spw
, use pip:
pip install sshpass-wrapper
then, run with spw
Usage:spw [option] command host [parameters]
option:
-h or --help: show help info
-f password-file
-o command-option
-v verbose
command:
set #set password
get #get password
ssh #wrap sshpass to exec ssh
scp #wrap sshpass to exec scp
host:
from ssh_config's Host
example:
spw set localhost password #set localhost's password
- set localhost #remove localhost's password
- get localhost #get localhost's password
- ssh localhost #ssh connect localhost
- ssh localhost arg1 arg2 #ssh connect localhost with args
- -o '-p 22' ssh localhost arg1 arg2 #ssh connect localhost with options and args
- -vo '-p 22' ssh localhost arg1 arg2 #-v show verbose
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sshpass-wrapper-0.0.1.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for sshpass_wrapper-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfe6e9d0e0d3199b02acae5371fae2ed8a398ae0c8e4293a0d3aea3bfe09fb8d |
|
MD5 | 17fa59e57ef9424848b39dd09ad7c36b |
|
BLAKE2b-256 | ba764dd763f2cc1237c87c9fdf6da4a528e1933d8e25f76d5ca3ba639f6298f5 |