A
A
Alexander Bagirov2015-05-01 09:03:08
SSH
Alexander Bagirov, 2015-05-01 09:03:08

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

3 answer(s)
N
Nazar Mokrinsky, 2015-05-01
@alexbagirov

Add its key in a separate line to ~/.ssh/authorized_keys, if the file does not exist, create it

C
Chvalov, 2015-05-01
@Chvalov

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"

S
SimWhite, 2015-05-01
@SimWhite

Banned on Google ?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question