This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: sshd and inetd
- To: Stephan Hendl <Stephan dot Hendl at lds dot brandenburg dot de>
- Subject: Re: sshd and inetd
- From: Corinna Vinschen <vinschen at cygnus dot com>
- Date: Tue, 01 Aug 2000 16:52:47 +0200
- CC: cygwin at sources dot redhat dot com
- References: <s98688de.010@pgkvbb2>
- Reply-To: cygwin <cygwin at sources dot redhat dot com>
Stephan Hendl wrote:
> hendl@lkvbb1:~ > ssh -v hendl0
> [...]
> lkvbb1: Remote: RSA authentication accepted.
> Authentication rejected for uid 1000.
> hendl@lkvbb1:~ >
> ---
> Yesterday I started the sshd from the shell and it worked.
There's a big difference: I assume you have started sshd from
LocalSystem account as service, isn't it?
As I mentioned in the README (did you read the README?) you can either
logon to any user account using password authentication or you can
start sshd under your own user account and then logon using RSA
authentication.
It's impossible to change the user if no password is given!
> hendl@lkvbb1:~ > telnet hendl0
> [...]
> alias: not found
> alias: not found
> \u@\h: \w >
You are expecting bash but it looks as if your /etc/passwd entry
contains /bin/sh as shell.
/bin/sh under Cygwin is a stripped (but fast) version of ash with
almost no features but plain bourne shell ones.
To get a bash as login shell you'll have to change your /etc/passwd
entry accordingly.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@sources.redhat.com
Red Hat, Inc.
mailto:vinschen@cygnus.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com