RE: ssh read password from stdin
From: Wilson, Richard E (richard.wilson_at_eds.com)
Date: 11/20/03
- Previous message: Leece, Doug: "RE: Disable ssh access to some users"
- Maybe in reply to: Popeanga Marian: "ssh read password from stdin"
- Next in thread: Popeanga Marian: "Re: ssh read password from stdin"
- Reply: Popeanga Marian: "Re: ssh read password from stdin"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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
- Previous message: Leece, Doug: "RE: Disable ssh access to some users"
- Maybe in reply to: Popeanga Marian: "ssh read password from stdin"
- Next in thread: Popeanga Marian: "Re: ssh read password from stdin"
- Reply: Popeanga Marian: "Re: ssh read password from stdin"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]