Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Python (http://www.velocityreviews.com/forums/f43-python.html)
-   -   python gui and ssh (http://www.velocityreviews.com/forums/t320590-python-gui-and-ssh.html)

=?ISO-8859-15?Q?J=F6rg?= Maier 08-05-2003 06:15 PM

python gui and ssh
 
-----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@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/RYTYj8eXbs1acRAjpOAKCHLZFryhzcFQIVADRS6Az5UDAecgCd HLec
36sfcK7CB3Cg1t9l055BXAs=
=MG0v
-----END PGP SIGNATURE-----


All times are GMT. The time now is 11:25 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.