Mail Archives: cygwin/2004/11/02/17:53:21
I'm having trouble setting up correct user and group permissions for
logging on to a computer using ssh. I have installed sshd and cygrunsrv,
and I believe that the server itself is running properly. I start it
with "cygrunsrv -S sshd". However, when trying to logon from a remote
(Linux) computer, I get:
~ ssh -l remote-user xxx.xxx.xxx.xxx
remote-user AT xxx DOT xxx DOT xxx DOT xxx's password:
Last login: Tue Nov 2 10:35:21 2004 from yyy
setgid: Invalid argument
Connection to xxx.xxx.xxx.xxx closed.
I use Windows XP on the host machine, and I have created a new user
account, with a password, for this purpose. I'm guessing that the error
lies somewhere in /etc/passwd and /etc/group.
The line corresponding to the remote user in /etc/passwd looks like this:
remote-user:unused_by_nt/2000/xp:1008:513:remote-user,U-LATERALUS\remote-user,S-1-5-21-1547161642-343818398-725345543-1008:/home/martin:/bin/bash
(I hope there's no risk posting the contents of the passwd file here...)
My /etc/group looks like this:
root:S-1-5-32-544:0:
SYSTEM:S-1-5-18:18:
What can I do?
/ martin
--
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/
- Raw text -