| Home | Trees | Indices | Help |
|
|---|
|
|
SSH2 Connection and tunnel support Data member: transport: a paramiko transport object session: a paramiko session channel: a fake channel for HTTP transport through ssh tunnelling host: remote host name user: remote account user name port: remote port auth: authentication type passwd: password for remote account keyFile: local file for RSA/DSA keys passphrase: passphrase of RSA/DSA
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
DefaultPort = 22
|
|||
PSWDAUTH = 0
|
|||
RSAAUTH = 1
|
|||
DSAAUTH = 2
|
|||
|
|||
initialize owner -- object who starts the connection |
check if this connection is still alive
|
make a ssh2 connection to the remote host. host -- remote host machine user -- username port -- port of remote ssh service auth -- authenticate method, PSWDAUTH,RSAAUTH,DSAAUTH passwd -- only required if use PSWDAUTH keyFile -- only required if use RSAAUTH or DSAAUTH passphrase -- only required if use RSAAUTH or DSAAUTH, and passphrase is set |
Authorize connection with default rsa key location. transport -- paramiko transport |
Authorize connection with default dsa key location. transport -- paramiko transport |
make a HTTP transport to remote host through SSH tunnelling. return: a xmlrpc transport instance |
As requested by xmlrpclib.Transport, open a ssh2 tunnel address -- host:port string return: a sshe tunnel |
execute a command cmd -- command to be run remotely n -- size of output to be returned return -- output |
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Fri Apr 10 19:11:00 2009 | http://epydoc.sourceforge.net |