X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: =?ISO-8859-1?Q?Ren=E9_Berber?= Subject: Re: How to add users to sshd? Date: Wed, 12 Apr 2006 01:46:21 -0500 Lines: 39 Message-ID: References: <20060302100755 DOT GG3184 AT calimero DOT vinschen DOT de> <27335.1273769096$1144817108 AT news DOT gmane DOT org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable User-Agent: Thunderbird 1.5 (Windows/20051201) In-Reply-To: <27335.1273769096$1144817108@news.gmane.org> OpenPGP: url=hkp://random.sks.keyserver.penguin.de X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 siegfried wrote: > I can use ssh with the administrator account but I'm having trouble using > ssh with my other user accounts. I'm reading > /usr/share/doc/Cygwin/openssh.README and it says: >=20 > "You can create the private and public keys for a user now by running >=20 > /usr/bin/ssh-user-config >=20 > under the users account." >=20 > I tried that and it says: >=20 > bash-3.00$ /usr/bin/ssh-user-config > There is no home directory set for you in /etc/passwd. > Setting $HOME is not sufficient! >=20 > Hmmm.... I'm confused. Can someone tell me how to use ssh with something > other than the Administrator account? A Windows user is not the "user account" the documentation refers to above. After creating the Windows user you (an administrator) have to add the user= to the /etc/passwd file, usually running "mkpasswd -l -u UserName >> /etc/pass= wd", but you may have to edit the file to modify group, shell or home directory. The home directory is created the first time the user logs in. I think the ssh-user-config is meant to be used by the user itself, that will at least = take care of creating the home directory. --=20 Ren=E9 Berber -- 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/