This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ssh with password allows commands that fail with ssh via key


I suspect this is already answered somewhere, but my googling has not brought up an answer.

Environment:
CygWin with OpenSSH 6.6.1p1-3 on Windows 2012 R2. Using the domain administrator account as the target on Windows.

Issue:
When I ssh into Windows from Linux, if I use a password, "powershell -command get-cluster" works. If I use key (store in .ssh/authorized_keys), "powershell -command get-cluster" returns access denied. Simpler commands do not appear to make a distinction and work equally well with password or keys.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]