Windows whoami returns hostname\sshd_server after ssh auth key login

DeGraff, Adam adegraff@rsasecurity.com
Tue Sep 12 20:39:00 GMT 2006


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/



More information about the Cygwin mailing list