I have Linux mint on my pc.

I have a public/private key pair to ssh into my router without having to type the password.

It works on Windows using putty, but Mint isn't when I run it from terminal.

ssh -i privkey.ppk root@
  • The debugging output you get with -v, -vv and maybe even -vvv might be helpful. – phk Mar 13 '16 at 11:22

You need to convert keys generated by putty to a form that can be used by openssh.

There are several good answers explaining various ways of doing this at https://stackoverflow.com/questions/2224066/how-to-convert-ssh-keypairs-generated-using-puttygenwindows-into-key-pairs-use

  • I thought I also found some dupes here on U&L, but none of them were actual duplicates, just similar/related questions. – cas Mar 13 '16 at 6:55

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.