0

I'm on Ubuntu 12.04. When I try to connect to our server

ssh user@server -p 1234 -i ~/path/to/my/private-key

it asks me 3 times for the private key's passphrase and finally fails, though I always enter the correct one. When I try it with Putty (converted the OpenSSH key to .ppk) it works without any problem. What could be the reason?

2
  • 2
    What are the permissions of the key? I doubt that's the issuesince usually you'll get an error from other server, but worth checking.
    – nerdwaller
    Feb 16, 2013 at 16:54
  • They are readable/writable by the user only.
    – Mike L.
    Feb 17, 2013 at 7:21

1 Answer 1

0

Try adding -v (verbose) option to the ssh command line, it could give you a hint.

Also make sure you really have the correct passphrase: try changing it with ssh-keygen -p

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .