forgot to mention that, i have no control over ssh server (to add 'PasswordAuthentication no' option to server config)
________________________________ From: Rajeev Prasad <rp.ne...@yahoo.com> To: perl list <beginners@perl.org> Sent: Sunday, January 27, 2013 1:09 PM Subject: Net::Openssh disable password based login I guess this is openssh question. but, while using this module, and using key based authentication. some hosts which do not have key installed (perhaps user account does not yet exist there), throws password challenge and then the ssh program wait for too long, till the process is killed by hand (I dont know but the option 'ConnectTimeout 30' does not seem to have any impact). so how can i make this an strictly key based login? so that if key based login fails it does not try any further. pl advice. ty. Rajeev