> Attached are the instructions I used about a year ago to install and its > been working fine until about 3 weeks ago. The server crashed (due to MS > patches I believe) and when it came up the system didnt look right.. I > installed syslog-ng to see if it would help me get some logging. > > Prior to the crash, users were restricted to their home directories.. Now I > see dev in the folder list even though it was hidden before and fstab was not > changed. > According to the instructions I used to install, /home was to be owned by > cyg_server, but it shows as owned by Administrator now. I suspect a > permission problem I am having with ssh keys not working.. > > 2017-10-11 19:30:04, 00001: Session(0AC80001): SENT : USERAUTH_REQUEST [none] > 2017-10-11 19:30:04, 00001: Session(0AC80001): RECV : USERAUTH_FAILURE, > continuations [publickey,password,keyboard-interactive] > 2017-10-11 19:30:05, 00001: Session(0AC80001): SENT : USERAUTH_REQUEST > [publickey (ssh-rsa) - unsigned,fingerprint (SHA-2 hash): > 57:ed:24:74:ce:88:71:a8:15:ae:72:8a:dd:42:be:b6:76:8c:f2:65:f8:1b:41:29:92:95:63:1d:24:b4:d5:85] > 2017-10-11 19:30:05, 00001: Session(0AC80001): SENT : USERAUTH_REQUEST > [publickey (ssh-rsa) - unsigned,fingerprint (SHA-1 hash): > 33:f2:36:9c:2f:45:7e:87:74:fb:d5:6e:ca:44:e6:99:03:53:80:c6] > 2017-10-11 19:30:05, 00001: Session(0AC80001): SENT : USERAUTH_REQUEST > [publickey (ssh-rsa) - unsigned,fingerprint (MD5 hash): > ba:b7:6c:0b:88:87:74:c6:a0:eb:e5:bd:06:bb:53:10] > 2017-10-11 19:30:05, 00001: Session(0AC80001): RECV : USERAUTH_FAILURE, > continuations [publickey,password,keyboard-interactive] > 2017-10-11 19:30:05, 00001: Session(0AC80001): SEND: Disconnect packet: The > user canceled authentication. > > Cygcheck attached.
Not sure what your trouble is. The client's output of ssh -vv when the authentication fails might help to debug it. If sshd can't read the client's public key, then for sure that would cause the authentication to fail. I don't have sshd installed on any of the hosts I can get to right now, but maybe someone who does could post their output of ls -ld ~ ~/.ssh ~/.ssh/authorized_keys so you could compare your permissions to theirs. One thing to try is to rerun ssh-host-config (from an admin shell I believe). Andrew -- 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