On 11/3/06, Scott Ragen <[EMAIL PROTECTED]> wrote:
Why Choose not to use ssh keys.
The default is to both allow passwords, and/or keys.

I use SSH keys on many servers, but there are a bunch in this group
where the admins have *blocked* use of SSH keys and thus I would like
to have a system that works for ALL servers, and the only way I can
see that happening is by letting the script send the password when
prompted for it.

You don't need root access to create a passwordless login (providing the
admin's haven't explicitly changed the default).

I know, but imagine asking a server admin in a company where there are
lots of policies, bla bla, if I can have a passwordless login on an
account with special sudo privileges :)

Now the reason I suggested that is Net::SSH (Which cannot use passwords
for login) uses Filehandles for reading and writing, so expect should
"just work"(tm).

Well, Net::SSH might not be able to, but Net::Telnet should be able to
by creating the pseudo controlling terminal as the manpage clearly
states (with an example and all) but for some reason the PTY is not
catching the password prompt.

Thanks for your reply.

Gonzalo
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to