Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <41881027.9060407@aass.oru.se> Date: Tue, 02 Nov 2004 23:54:31 +0100 From: Martin Magnusson User-Agent: Mozilla Thunderbird 0.7a (Windows/20040614) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: sshd login problems Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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/