copssh personal edition unable to access authorized_keys on windows 2008 R2

3 posts / 0 new
Last post
mythink
Offline
Last seen: 4 years 9 months ago
Joined: 27.02.2014 - 20:57
copssh personal edition unable to access authorized_keys on windows 2008 R2

Generated the keys using puttygen.exe provided with cwRsync and using winSCP to test connection want putty Private key.

Importing key in using coping and pasting public key directly from Putty Key Generator window i.e. require no editing since starts with ssh-ras <randowm_key>

Also verified key placed in c:/user/username/.ssh/authorized_keys

get from winSCP: Server refused our key

on copssh log shows:

2014.02.27 19:12:53 -  debug1: Could not open authorized keys '/var//.ssh/authorized_keys': No such file or directory
2014.02.27 19:12:53 -  debug1: trying public key file /var//.ssh/authorized_keys

Proper path would be:

/cygdrive/c/Users/username/.ssh/authorized_keys

itefix
Offline
Last seen: 21 hours 2 min ago
Joined: 01.05.2008 - 21:33
This happens because you've

This happens because you've activated the service account for Copssh access. The service account is only meant to run the service and has var directory as home. See our FAQ about details.

Please install Copssh again and activate an ordinary user for access.

mythink
Offline
Last seen: 4 years 9 months ago
Joined: 27.02.2014 - 20:57
Resolved creadted 2nd local

Resolved creadted 2nd local user account and had copssh create service account. theire is a weird issue with case sensitivity. user all lower case when creating your accounts. Issue resolved.