ssh.md 302 B

SSH

Install server

sudo apt install openssh-server

Config server

sudoedit /etc/ssh/sshd_config

Auto start ssh

sudo systemctl enable ssh
sudo systemctl start ssh
sudo service ssh restart

Add key

ssh-copy-id -i ~/.ssh/id_rsa.pub 192.168.0.10