ssh: added ssh key login

master
TiynGER 4 years ago
parent 1013e97994
commit 51bc78aed2

@ -6,3 +6,9 @@ SSH is a network protocoll to securely connect to a computer.
Edit the `/etc/ssh/sshd_config` and change the line containing `PermitRootLogin` Edit the `/etc/ssh/sshd_config` and change the line containing `PermitRootLogin`
to `PermitRootLogin yes`. to `PermitRootLogin yes`.
## Add login via SSH public key
To enable easy login without password you can add the contents of the file
`~/.ssh/id_rsa.pub` from your local machine to the file `~/.ssh/authorized_keys`
on the machine you want to log into.

Loading…
Cancel
Save