Answer the question
In order to leave comments, you need to log in
How to log in via SSH using a public key?
The person gave me his public key. Can you please tell me what I need to do so that he can log in to my VPS with Ubuntu using this key? The .ssh folder is there, but it's empty.
Answer the question
In order to leave comments, you need to log in
Add its key in a separate line to ~/.ssh/authorized_keys
, if the file does not exist, create it
Look at these articles:
vds-admin.ru/ssh/ssh-autentifikatsiya-po-klyucham-...
habrahabr.ru/post/127521
www.opennet.ru/base/sec/ssh_pubkey_auth.txt.html
But the folder is not there must be empty "~/.ssh"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question