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]

Windows whoami returns hostname\sshd_server after ssh auth key login


I have read the archives and am guessing that I am stuck with this auth
key login gets sshd_server userid behavior.
 
Example of whoami returns correctly when logged with password:
Administrator@win-am-install ~
$ C:/windows/system32/whoami
win-am-install\administrator
 
Example of whoami returning incorreclty when ssh'ing in via auth keys
(no passwd):
Administrator@win-am-install ~
$ ssh Administrator@win-am-install "C:/windows/system32/whoami"
win-am-install\sshd_server
 
Am I correct in this assumption?  Is there a workaround?
 
Thanks,
Adam

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


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