SA-MP Forums Archive
SSH Keys on Linux Mint - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: SSH Keys on Linux Mint (/showthread.php?tid=579376)



SSH Keys on Linux Mint - Su37Erich - 26.06.2015

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


Re: SSH Keys on Linux Mint - Jake187 - 26.06.2015

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


Re: SSH Keys on Linux Mint - Su37Erich - 26.06.2015

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


Re: SSH Keys on Linux Mint - mamorunl - 26.06.2015

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.


Re: SSH Keys on Linux Mint - Sublime - 27.06.2015

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