PsExec does not work with public key authentification
Thu Oct 27 10:47:00 GMT 2016
i setup ssh and execute command with psexec on the remote server, which works as expected. Then i added my pub key to my ~/.ssh/authorized_keys to login without pw.
After that i cannot execute psexec commands, it says ”handle is invalid“. Checked twice, remove my pub key from authorized_keys and it worked again.
Which parameter in sshd_conf is responsible for that? Could it by that i have to make a user config file with ”PermitLocalCommand yes“ ?
Any help would bei great!
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3571 bytes
Desc: not available
More information about the Cygwin