Key authentication failure, password authentication OK

4 posts / 0 new
Last post
me21
Offline
Last seen: 6 years 2 months ago
Joined: 23.12.2013 - 15:16
Key authentication failure, password authentication OK

Hello everyone,

I installed CopSSH Server 3.1.4 on Windows XP SP3, created a user named "rsync" for ssh'ing, activated it in CopSSH.

Then I copied the generated private key to the client. The client is CwrSync 4.1.0. I'd like to run rsync over ssh. First, I try to establish SSH connection to my server by executing: "ssh -i rsync.key rsync@192.168.1.3 -T".

Then I enter my passphrase for key, and then I get the response: "Connection closed by 192.168.1.3".

In the server's event log, I see the following error: "sshd: PID 592: fatal: seteuid 1052: Permission denied".

The password-based authentication works fine!

I've looked through FAQ, checked that SvcCOPSSH account has all the needed privileges.

Please help me to diagnose and repair the problem. What should I do, step-by-step?

 

me21
Offline
Last seen: 6 years 2 months ago
Joined: 23.12.2013 - 15:16
By the way, when I install

By the way, when I install Cygwin with OpenSSH, then run 'ssh-host-config' and 'ssh-user-config', everything just works. I copy authorized_keys from CopSSH installation.

Maybe sshd version bundled with CopSSH 3.1.4 is buggy?..

itefix
Offline
Last seen: 45 min 11 sec ago
Joined: 01.05.2008 - 21:33
I can duplicate your scenario

I can duplicate your scenario in my test lab successfully. Do you use a localized version of Windows ? Please check a related FAQ

me21
Offline
Last seen: 6 years 2 months ago
Joined: 23.12.2013 - 15:16
Yes, renaming Administrators

Yes, renaming Administrators and Users groups to english helped, thanks a lot.