1
0
mirror of https://github.com/tiyn/wiki.git synced 2025-04-19 06:07:44 +02:00
wiki/wiki/linux/ssh.md
2021-05-18 00:41:08 +02:00

434 B

SSH

SSH is a network protocoll to securely connect to a computer.

Enable root login via SSH

Edit the /etc/ssh/sshd_config and change the line containing PermitRootLogin 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.