1.5.25: Different users when using ssh

Göransson David david.goransson@anoto.com
Thu Aug 6 16:52:00 GMT 2009


Hi all
 
I am trying to execute some scripts on a Win2003 R2 virtual machine via ssh. The problem is that the user running on the remote machine isn't what I expect.
 
When running
 ssh administrator@10.0.2.15 whoami
it gives me
 deployment-w2k3\cyg_server
 
However, if I start with
 ssh adminstrator@10.0.2.15
and in the resulting shell write
 whoami
I get
 Adminstrator
 
I use public key authentication, which I have understood can create some problems, but it seems to me that since it works in the second case, it shouldn't have anything to do with that.
Is there something to execute to change user, set user variables and such? I tried /etc/profile, but that didn't work.
 
Thanks in advance!
 
David Göransson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 11418 bytes
Desc: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20090806/fe727b47/attachment.obj>
-------------- next part --------------
--
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


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /