python gui and ssh

Discussion in 'Python' started by =?ISO-8859-15?Q?J=F6rg?= Maier, Aug 5, 2003.

  1. -----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-----
    =?ISO-8859-15?Q?J=F6rg?= Maier, Aug 5, 2003
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. loial
    Replies:
    0
    Views:
    398
    loial
    Feb 3, 2009
  2. loial
    Replies:
    0
    Views:
    403
    loial
    Feb 10, 2009
  3. Tench Johnson
    Replies:
    1
    Views:
    290
    Biff Tannen
    Apr 23, 2010
  4. Deepika
    Replies:
    2
    Views:
    207
    Deepika
    Nov 14, 2006
  5. Replies:
    0
    Views:
    96
Loading...

Share This Page