From: Ogz <com...@gm...> - 2005-06-29 13:01:56
|
ok i will ask my problem on the mailing list but will write you also: import pyssh connect =3D pyssh.Ssh('username', 'host', 'port') connect.login() connect.sendcmd("pwd") #shows the remote cwd connect.close() connect.open() connect.sendcmd("pwd") # first it shows a password and enters itself and didnt show the result i want to fix it. what is the usage of open and close functions? |