Re: Returned post for [email protected]

Derek Martin <[email protected]> Mon, 19 Apr 2010 20:44:30 -0500
Newsgroups gmane.network.openssh.general
Message-ID <[email protected]>
On Mon, Apr 19, 2010 at 02:16:46PM +0100, Jannik Sundø wrote:
> 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 this command:
> ssh root@IP -o PasswordAuthentication=no KbdInteractiveAuthentication=no

You might also try BatchMode=yes, though I would expect if the above
doesn't work, that wouldn't either.  Worth a shot maybe.

-- 
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFLzQb+djdlQoHP510RAjpeAJ4192YpByMQDoEou8Or6Xtw0YiTeACgh875
aVkU7oOej3mseqySx3penfA=
=MhhV
-----END PGP SIGNATURE-----