RE: ssh read password from stdin

From: Wilson, Richard E (richard.wilson_at_eds.com)
Date: 11/20/03

  • Next message: Neil Dickey: "Re: scp fails - excepted on very small files"
    To: "'Popeanga Marian'" <pmarian@cnlo.ro>, secureshell@securityfocus.com
    Date: Thu, 20 Nov 2003 11:06:00 -0600
    
    

    Marian,

    If you cannot set up the ssh-agent processes to provide passwordless login
    (this is the better way!), you could try using expect. Your expect script
    though, would have to contain the password.

    Richard Wilson

    -----Original Message-----
    From: Popeanga Marian [mailto:pmarian@cnlo.ro]
    Sent: Thursday, November 20, 2003 6:40 AM
    To: secureshell@securityfocus.com
    Subject: ssh read password from stdin

    Hello all,

             I am working on a software witch needs to create a tunnel with ssh.
    The ssh connection will be lunched as a separate process from the main
    application. I need to be able to send the password to stdin.
    How can i workaround this issue, thinking from a programmer perspective ?

    Thanks,
    /Marian


  • Next message: Neil Dickey: "Re: scp fails - excepted on very small files"