python gui and ssh

Jörg Maier joerg.maier at rz.uni-mannheim.de
Tue Aug 5 14:15:47 EDT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hey,
i have a problem with ssh and popen2:
#sshstdin, sshstdout = os.popen2(SSH_PATH + ' ' + self.user + '@' +
self.server + ' ' + 'ls -al')

ssh does not take paswords from sshstdin and it does not write
user at server's password:
to sshstdout but it writes to the terminal due to security issues. is there
a possibility to pass passwords to ssh and to get terminal outputs to a
pipe in a gui program?

thanks for every help, 
i would like to write a gui based program giving the possibility to rsync
with ssh as remote shell. this tool should run under cygwin, linux and
macosx.

- -- 
Hi
I am a signature virus. 
Please copy me to your .signature file to help me spread.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQE/L/RYTYj8eXbs1acRAjpOAKCHLZFryhzcFQIVADRS6Az5UDAecgCdHLec
36sfcK7CB3Cg1t9l055BXAs=
=MG0v
-----END PGP SIGNATURE-----




More information about the Python-list mailing list