Skip to content

pysshops is a comodity pacakge to build python operations tools working on ssh and powered by paramiko.

License

Notifications You must be signed in to change notification settings

lgaggini/pysshops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pysshops

pysshops is a comodity pacakge to build python operations tools working on ssh and powered by paramiko.

Quickstart

from pysshops import SshOps
sshops = SshOps('hostname.domain.it', 'username')
with sshops as ssh:
    ssh.remote_command('ls -l /var/tmp')
from pysshops import SftpOps
sftpops = SftpOps('hostname.domain.it', 'username')
with sftpops as sftp:
    sftp.deploy('pysshops_sftp', '/tmp/pysshops_sftp')

Install

Git

git clone
cd pysshops
python setup.py install

Pip

pip install pysshops

Features

  • simple
  • powered by rock-solid paramiko
  • python2/3 compatibility
  • both ssh and sftp facilities
  • external key based authentication at os level

About

pysshops is a comodity pacakge to build python operations tools working on ssh and powered by paramiko.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages