public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* PsExec does not work with public key authentification
@ 2016-10-27 10:47 Marco Weinrich
  0 siblings, 0 replies; only message in thread
From: Marco Weinrich @ 2016-10-27 10:47 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 514 bytes --]

Hello,

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! 

Thanks, Marco

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 3571 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-10-27  7:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-27 10:47 PsExec does not work with public key authentification Marco Weinrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).