I am trying to connect my computer to a ssh server (running on Windows 7) using public/private keys.
I have generated the keys and used the necessary permissions for files:
chmod 700 .ssh
chmod 600 authorized_keys
and have also added the public key of my computer to the ssh server's authorized_keys file
Now when I try to connect to the ssh server it disconnects and in the log the error I get is:
fatal: seteuid 1000: Operation not permitted
Edit: Yes I can remotely login with password to ssh server. Another error which I saw was:
we sent a publickey packet, wait for reply
Connection closed by ssh-server