|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
Hi Derek, This one worked nicely. Didn't see that one in the ssh_config man. Thanks. Jannik On 20 Apr 2010, at 02:44, Derek Martin wrote: > 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 > Jannik Sundø Junior Network Engineer Sohonet Limited http://www.sohonet.co.uk Registered no. 3132110 England/Wales t: +44 (0)20 7292 6900 f: +44 (0)20 7292 6901 24/7 support: UK: +44 (0)20 7292 6909 US: +001 310 449 8610 AU: 1800 77 5280 The information in this email may contain confidential and/or privileged material. Any copying, dissemination or other use by any person other than the intended recipient is prohibited. If you have received this email in error, please contact the sender and delete the material from your computer. Thank you.
[Home] [Fedora Users] [Fedora Legacy] [Fedora Desktop] [Yosemite Photos] [Yosemite News] [Yosemite Campsites] [KDE Users] [Gnome Users]