in reply to Re^2: Net SSH2 auth_publickey not working in Windows
in thread Net SSH2 auth_publickey not working in Windows
$ssh->auth_publickey($SSH_USER, './virt_pub', './virt_priv.ppk') or di +e "pk connection error $!\n";
It's possible that your dot slash notation for specifying the key's path, may need a full path from root. You may not be running from the directory you think you are in.# you need permission to read the keys $ssh2->auth_publickey('zentara', '/home/zentara/.ssh/id_dsa.pub', '/home/zentara/.ssh/id_dsa', $pass );
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Net SSH2 auth_publickey not working in Windows
by Badhedgehog (Initiate) on May 13, 2011 at 09:13 UTC | |
by salva (Canon) on May 13, 2011 at 09:36 UTC | |
by Badhedgehog (Initiate) on May 13, 2011 at 09:51 UTC | |
by Badhedgehog (Initiate) on May 13, 2011 at 09:57 UTC | |
by salva (Canon) on May 13, 2011 at 10:10 UTC |