The class to handle the SSH sessions to the remote hosts.
|
|
|
remove(self,
host)
Removes an existing ssh session, so the new one can be created. |
source code
|
|
|
|
|
transfer(self,
host,
local_file,
remote_file,
user=None,
pw=None,
auto_pw_request=False)
Copies a file to a remote location using paramiko sfpt. |
source code
|
|
tuple(ChannelFile, ChannelFile, ChannelFile, boolean)
|
ssh_exec(self,
host,
cmd,
user=None,
pw=None,
auto_pw_request=False,
get_pty=False,
close_stdin=False,
close_stdout=False,
close_stderr=False)
Executes a command on remote host. |
source code
|
|
|
ssh_x11_exec(self,
host,
cmd,
title=None,
user=None)
Executes a command on remote host using a terminal with X11
forwarding. |
source code
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|