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


The Friday 2008-01-25 at 14:03 -0800, Jim Cunning wrote:

On Friday 25 January 2008 13:25:25 Ken Schneider wrote:
Hans Witvliet pecked at the keyboard and wrote:
On Fri, 2008-01-25 at 14:12 +0100, Carlos E. R. 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.

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.

I would if it were possible.

No asking for pwd's anymore

What part of "it is not possible" is not understood here?

Don't be so quick to be critical. I took Carlos statement to mean it was not
possible on the REMOTE system, but it is certainly possible on his local one,
which is all that is required so far as generating keys goes.

Yes, that's true...

However, it may not be possible to copy his public key to the "'remote' router
with embedded" (linux?). Carlos didn't say what limited commands were
available, or whether it was even possible to copy files onto the router.

And that is true as well. There is no way I can send any file there; I can't even do an 'ls'. I can re-flash it with a new firmware, that's all, aside from the allowed configuration parameters. I know it is a linux thing by looking at the log and because nmap says so. But none of the commands are "shell" commands, it has its own restricted shell.

I can't even change the default or admin user name! It is 1234. Worse, the default password is also 1234, and every body knows it, once they know the model name. But I have dissabled all type of remote administration except from the inside network.

- -- Cheers,
       Carlos E. R.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)

iD8DBQFHmmwJtTMYHG2NR9URAjasAJ9ZAEtJ4bvd7xcU7uF92NQU+k4a0ACgk2gw
ko8cB/DXRdPVApaDdUY+oyU=
=c1Gl
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to