Re: Net::Openssh disable password based login

2013-01-27 Thread Rajeev Prasad
nevermind. i figured it need to give this option: -o => 'PasswordAuthentication=no', From: Rajeev Prasad To: perl list Sent: Sunday, January 27, 2013 1:10 PM Subject: Re: Net::Openssh disable password based login forgot to mention th

Re: Net::Openssh disable password based login

2013-01-27 Thread Rajeev Prasad
forgot to mention that, i have no control over ssh server (to add 'PasswordAuthentication no' option to server config) From: Rajeev Prasad To: perl list Sent: Sunday, January 27, 2013 1:09 PM Subject: Net::Openssh disable password based login

Net::Openssh disable password based login

2013-01-27 Thread Rajeev Prasad
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