This is the mail archive of the
cygwin
mailing list for the Cygwin project.
sshd login problems
- From: Martin Magnusson <martin dot magnusson at aass dot oru dot se>
- To: cygwin at cygwin dot com
- Date: Tue, 02 Nov 2004 23:54:31 +0100
- Subject: sshd login problems
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@xxx.xxx.xxx.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/