-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


The Friday 2008-01-25 at 09:40 -0500, Aaron Kulkis wrote:

 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.

You probably can't provide a "typed password" from anything
other than the keyboard itself.

I solved it using "expect" - see other mails.

Ah! It is your mail arriving three days late, as usual. You should get a gmail account :-p


For security reasons, ssh and similar programs are
generally written to read only from /dev/tty.

Fortunately, "expect" can do the trick.


Is it possible to create a file called "rhosts"
or "hosts.equiv" on the router?

Nothing at all, no files; or I would create a key pair.


 If any one is worried about security, don't: for instance, if you use
 subversion with ssh access (to Novell, for instance) the password is
 stored in clear text in ~/.subversion/auth, and the file is world
 readable! (Was, rather, I changed it). So subversion must be giving the
 password somehow.

You've gotta be kidding.
Someone needs to hit the subversion devs with a clue-bat.


It is a documented feature of subversion. And they also document how to dissable it, on the client. They should be able to dissable it on the server side! I mean, the server side telling the clients not to store the password.

However, it is very convenient.

- -- Cheers,
       Carlos E. R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)

iD8DBQFHna6MtTMYHG2NR9URAuHPAJ9oMD14Jk+gFtVraC6QI1AT669j0wCfedHM
vBYLLnMnSHsDMyymud2aveo=
=FaZb
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to