Hello,
I have 2 Sun systems, 1 Sol8, the other Sol9, both have the same version of ssh, perl, and the PM module is installed on the Solaris 8 server only. I am trying to login using net::ssh perl module within a script and can not get it working.
I have a problem with my Net::SSH PM failing with the error Host Key Verification failed.
- I ran the ssh-keygen(ssh-keygen -b 1024 -t rsa) to setup rsa keys,
- copied the keys into the authorized_keys file on both systems with both systems keys,
- tested manually if I could login to both systems without a passwd and it works fine.
- I checked logs for failed ssh attempts but none were logged.
- I looked for ways to debug the script but can not find a way to debug the command "Net::SSH qw(sshopen2)".
Does anyone know how to debug this and/or know what I am missing in my ssh environment that is causing this?
TIA!!!
Lrivers
I have 2 Sun systems, 1 Sol8, the other Sol9, both have the same version of ssh, perl, and the PM module is installed on the Solaris 8 server only. I am trying to login using net::ssh perl module within a script and can not get it working.
I have a problem with my Net::SSH PM failing with the error Host Key Verification failed.
- I ran the ssh-keygen(ssh-keygen -b 1024 -t rsa) to setup rsa keys,
- copied the keys into the authorized_keys file on both systems with both systems keys,
- tested manually if I could login to both systems without a passwd and it works fine.
- I checked logs for failed ssh attempts but none were logged.
- I looked for ways to debug the script but can not find a way to debug the command "Net::SSH qw(sshopen2)".
Does anyone know how to debug this and/or know what I am missing in my ssh environment that is causing this?
TIA!!!
Lrivers