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

Re: urgent : ssh without password prompt and password client auth

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 ...

Please don't CC me on list messages!
Dave Ewart - davee@sungate.co.uk - jabber: davee@jabber.org
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

Attachment: signature.asc
Description: Digital signature

Reply to: