This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: sshd and inetd


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]