On Fri, 2008-01-25 at 14:12 +0100, Carlos E. R. wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > > Hi, > > I want to enter an ssh session without having to type the password (to be > used by a script). The "remote" is a router with embedded, and it is not > possible to create public key pairs because it is not a shell, but one > with a limited command set. >
As other posters mentioned 'expect' i won't. But as you specifically mention "ssh" i would rather advise you to generate a ssh-key-pair and copy the public-one over to the other machine into the authorizedkeys file. No asking for pwd's anymore -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
