You could use expect for this. But why would you want to? Chris > > From: "J. Bakshi" <bakshi12@xxxxxxxxx> > To: OpenSSH User List <secureshell@xxxxxxxxxxxxxxxxx> > Date: 12/10/2009 12:13 PM > Subject: [Suspected Spam]any way to provide the ssh password from a file ? > Sent by: listbounce@xxxxxxxxxxxxxxxxx > > 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.