Re: Returned post for secureshell@securityfocus.com
- From: Jannik Sundø <jannik.sundo@xxxxxxxxxxxxx>
- Date: Mon, 19 Apr 2010 14:16:46 +0100
Hi all,
I'm writing a script which will log into a list of servers if they have public/private keypairs set up. If a server doesn't, I want the script to move on to the next server rather than wait at a password prompt.
I'm using OpenSSH version 5.1p1 Debian-5, OpenSSL 0.9.8g 19 Oct 2007 on both client and server.
I'm using this command:
ssh root@IP -o PasswordAuthentication=no KbdInteractiveAuthentication=no
This works for most servers, but not all (on some of them the script halts at a password prompt). I suspect those servers may run an older version of SSH which doesn't support the options I'm providing. Any ideas? Thanks for any help.
Jannik
- Follow-Ups:
- Re: Returned post for secureshell@securityfocus.com
- From: Salvador Fandino
- Re: Returned post for secureshell@securityfocus.com
- From: Derek Martin
- Re: Returned post for secureshell@securityfocus.com
- Prev by Date: Re: [Suspected Spam]any way to provide the ssh password from a file ?
- Next by Date: Allow NON-Authenticated X11 Connections - How insecure/secure?
- Previous by thread: Re: [Suspected Spam]any way to provide the ssh password from a file ?
- Next by thread: Re: Returned post for secureshell@securityfocus.com
- Index(es):
Relevant Pages
|