Skip to main content

A wrapper for sshpass

Project description


A wrapper for sshpass

To install spw, use pip:
pip install sshpass-wrapper
then, run with spw

Usage:spw [option] command host [parameters]


     -h or --help: show help info

     -f password-file

     -o command-option

     -v verbose

     set #set password
     get #get password
     ssh #wrap sshpass to exec ssh
     scp #wrap sshpass to exec scp

     from ssh_config's Host 

     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

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)

Uploaded source

Built Distribution

sshpass_wrapper-0.0.1-py3-none-any.whl (4.1 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page