1

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
7
  • Whats the remote OS? Are you able to login remotely with a password?
    – guntbert
    Jan 12 '14 at 19:28
  • Please add this information to your question - in a comment it might get lost.
    – guntbert
    Jan 12 '14 at 21:32
  • I was asking for the remote OS, not the local one.
    – guntbert
    Jan 12 '14 at 21:33
  • the ssh server (remote) is running on Windows 7
    – synthesis
    Jan 12 '14 at 21:35
  • Hmm - I don't suppose there is anything like a UID in Windows - they use UUIDs.
    – guntbert
    Jan 12 '14 at 21:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.