We have setup some of our hosts to use PAM authentication for ssh. For
these hosts, Net::SSH::Perl does not pass through the password and
instead prompts for a "password".
Is there any way to correct this? Thanks.
Below is an example, note the " Doing challenge response
authentication. Password"
myhost: Reading configuration data /root/.ssh/config
myhost: Reading configuration data /etc/ssh_config
myhost: Allocated local port 1023.
myhost: Connecting to myremotehost, port 22.
myhost: Remote protocol version 1.99, remote software version OpenSSH_3.8p1
myhost: Net::SSH::Perl Version 1.25, protocol version 1.5.
myhost: No compat match: OpenSSH_3.8p1.
myhost: Connection established.
myhost: Waiting for server public key.
myhost: Received server public key (768 bits) and host key (1024 bits).
myhost: Host 'myremotehost' is known and matches the host key.
myhost: Encryption type: DES3
myhost: Sent encrypted session key.
myhost: Received encryption confirmation.
myhost: RSA authentication failed: Can't load public key.
myhost: Doing challenge response authentication.
Password:
myhost: Sending command: hostname
myhost: Entering interactive session.
|