Обновить linux/ssh_key
This commit is contained in:
parent
1c513559cb
commit
de986ff8b7
|
|
@ -7,3 +7,5 @@ Then enter password, after that >
|
||||||
Go to your server and add your key, to ssh_authorized keys >
|
Go to your server and add your key, to ssh_authorized keys >
|
||||||
cat id_ed*.pub >> ~/.ssh/authorized_keys
|
cat id_ed*.pub >> ~/.ssh/authorized_keys
|
||||||
And don't forget to restart ssh and sshd
|
And don't forget to restart ssh and sshd
|
||||||
|
|
||||||
|
Use this is password authentication still works (nano /etc/ssh/sshd_config.d/50-cloud-init.conf)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue