This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Windows whoami returns hostname\sshd_server after ssh auth key login
- From: "DeGraff, Adam" <adegraff at rsasecurity dot com>
- To: <cygwin at cygwin dot com>
- Date: Tue, 12 Sep 2006 13:39:02 -0700
- Subject: 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/