[Ssh-sftp-perl-users] different authentication behavior in ssh/Net::SSH::Perl
Brought to you by:
dbrobins
From: Neven L. <Nev...@pa...> - 2008-04-24 14:09:40
|
Hello, hope this is not considered off topic, but Net::SSH::Perl does play some part. I have noticed a strange difference when logging in to a remote machine via ssh or Net::SSH::Perl: - logging in via ssh authenticates me using keyboard interactive login - logging in via Net::SSH::Perl only works with public key When looking at sshd_configuration of the target server, it has: PasswordAuthentication No ... UsePAM Yes which is common for SuSE. When I set PasswordAuthentication Yes I get the possibility of authenticating via keyboard interactive with Net::SSH::Perl too. To my understanding UsePAM makes sshd use PAM for authentication purposes and ignore the setting of PasswordAuthentication. As the client cannot change this behavior I am wondering what's going on here? Any clues appreciated. Greetings Neven |