skip to navigation
skip to content

sshed 0.1.0rc

Minimal SSH wrapper around Paramiko

Latest Version: 0.3.2


sshed is a minimal paramiko wrapper that makes working with ssh through python
just like working with it in normal SSH. It will use your configuration that
you have already created first then any extra options can be passed in through
the library that is using it. Servers are base objects that can be extended
to do other tasks. Also the API is dead simple.

Creating a server from your ~/.ssh/config with ssh keys created. This also
uses a host alias.

from sshed import servers
server = servers.from_conf('development')'whoami').output
>> ['cwood']'sudo whoami').output
>> ['root']'cd /var/www').returncode
>> 0'pwd').output
>> ['/var/www']

Creating a server from just a hostname
from sshed import servers
server = servers.from_conf('')'hostname').output
>> ['']

Creating a new server without a ssh config
from sshed.servers import Server
server = Server(username='username', hostname='',
password='supersecretpassword') ... )
File Type Py Version Uploaded on Size
sshed-0.1.0rc.tar.gz (md5) Source 2012-09-16 2KB