This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: sshd problem with recent snapshots


On 11/15/2010 11:09 AM, Corinna Vinschen wrote:
On Nov 13 10:00, Ken Brown wrote:
On 11/5/2010 8:03 AM, Ken Brown wrote:
If I start sshd on a machine running a recent snapshot, I'm unable to
login to that machine via ssh.  The connection is closed right after I
type my password.  The problem first appears in the snapshot of
20100917.  To reproduce:

1. Start sshd.

2. While logged in as one user, try to login as another user. For example:

$ ssh kbrown-admin@localhost
kbrown-admin@localhost's password:
Connection to localhost closed by remote host.
Connection to localhost closed.

The same thing happens if I try to ssh in from a different machine on
the network.

Further information: There are two entries in the Windows Event Viewer (Application Log) after the failed login:

sshd: PID 2264: Accepted password for kbrown-admin from ::1 port 1025 ssh2.

sshd: PID 2264: fatal: chmod(/dev/tty1, 0622) failed: Permission denied.

Hmm, that's weird. I'm using the latest Cygwin from CVS, and I cannot reproduce this. I tried to login from a remote machine with pubkey and password authentication using an admin account as well as a normal user account. Works fine for me in all these cases.

I can't quite believe it, but maybe that's OS related.  I'm running my
tests on W7 in the first place.  What OS are you using?

XP SP3.


Ken

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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