sshd and inetd

Corinna Vinschen vinschen@cygnus.com
Tue Aug 1 07:53:00 GMT 2000


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



More information about the Cygwin mailing list