SSH Keys on Linux Mint
#1

Hello,
I ask for your help about the following;
I have installed Linux Mint and now I want to connect to my VPS, but I have a SSH Key par authentication setup, so I don't know how can I login to my server via the terminal. I have copied my private key to my local machine /user/.ssh directory but still doesn't work. On WinSCP and putty everything works fine, but in Linux I don't have any idea how to login with SSH keys.
I'm using the command: ssh user@mydomain.com and here is the output:
Permission denied (public key, gssapi-keyex, gssapi-with-mic).
Thanks in advance
Reply
#2

try using ssh-copy-id if not read through this tutorial
http://support.suso.com/supki/SSH_Tutorial_for_Linux
Reply
#3

I have already installed the public key on the remote machine (VPS) so doing something like that no make sense for me I guess
Thank you for the the page, but still it doesn't work
Reply
#4

I take it that ssh-keys are different for each pc, so you would have to re-generate your ssh key and chain the public key in the server.
Reply
#5

to which folder did you paste your pub key at? .ssh or .ssh/authorized_keys?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)