python gui and ssh

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jörg Maier

    python gui and ssh

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

    Hey,
    i have a problem with ssh and popen2:
    #sshstdin, sshstdout = os.popen2(SSH_P ATH + ' ' + 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/RYTYj8eXbs1acRA jpOAKCHLZFryhzc FQIVADRS6Az5UDA ecgCdHLec
    36sfcK7CB3Cg1t9 l055BXAs=
    =MG0v
    -----END PGP SIGNATURE-----
Working...