On Tuesday, 03.05.2005 at 17:04 +0200, STEPHANE DURIEUX wrote: > Well everything is in the title. > I would like to use ssh in scripts so without entering > the password. > The problem is that such commands don t work: > echo passwd | ssh host (ssh doesn t read std input)
You might be able to get 'expect' to do this, although ... > I don t want to use private keys (so not ssh-agent). using keys is really the best way. Can you explain why you don't want to use keys for this? It's likely to be the best solution ... Dave. -- Please don't CC me on list messages! ... Dave Ewart - [EMAIL PROTECTED] - jabber: [EMAIL PROTECTED] All email from me is now digitally signed, key from http://www.sungate.co.uk/ Fingerprint: AEC5 9360 0A35 7F66 66E9 82E4 9E10 6769 CD28 DA92
signature.asc
Description: Digital signature