python gui and ssh

  • Thread starter =?ISO-8859-15?Q?J=F6rg?= Maier
  • Start date
?

=?ISO-8859-15?Q?J=F6rg?= Maier

-----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/RYTYj8eXbs1acRAjpOAKCHLZFryhzcFQIVADRS6Az5UDAecgCdHLec
36sfcK7CB3Cg1t9l055BXAs=
=MG0v
-----END PGP SIGNATURE-----
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,577
Members
45,052
Latest member
LucyCarper

Latest Threads

Top