Re: [Suspected Spam]any way to provide the ssh password from a file ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Does this mean...

1> export SSH_AKSPASS=/myprograms/get_passwd

2 > # /myprograms/get_passwd  script produces the passwd

3>  ssh <hostname>


OR

1> mv /usr/bin/ssh-askpass /usr/bin/ssh-askpass.bak
2> # /myprograms/get_passwd  script produces the passwd
3> ln -s /myprograms/get_passwd /usr/bin/ssh-askpass
4> ssh <hostname>



Both of these are not working for me


+Raja



Silamael wrote:
On 12/06/2009 07:37 AM, J. Bakshi wrote:
Hello list,

Is there any way to provide the ssh password from a file ? There is password less login option with the help of public/private key combination. But I like to have the password less login by providing the key from a file. Is it possible ? My version of ssh is  "OpenSSH_5.1p1 Debian-8  OpenSSL 0.9.8k 25 Mar 2009"
Please let me know.

Hello there,

You can build something using the SSH_ASKPASS environment variable to
get ssh calling the programm given in this variable for fetching the
password. Small shell script would be enough.

-- Matthias



[Index of Archives]     [Open SSH Unix Development]     [Fedora Users]     [Fedora Desktop]     [Yosemite Backpacking]     [KDE Users]     [Gnome Users]

  Powered by Linux