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]

Re: Windows whoami returns hostname\sshd_server after ssh auth key login


On Tue, 12 Sep 2006, DeGraff, Adam wrote:

> 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?

<http://cygwin.com/ml/cygwin/2006-08/msg01084.html>.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

--
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]