Skip to main content

ssh

The Raspberry Pi OS can be set up with an rsa key already authorized. If this is not the case, a new public key must be added. The new key must be moved into the file

/home/username/.ssh/authorized_keys

Afterwards, the default port for ssh connections must be changed to 200, such that the forwarded port matches the ssh port. This can be done with

doas vim /etc/ssh/sshd_config

Where the Port must be changed from 22 (default) to 200. Afterwards, the ssh daemon must be restarted using

doas systemctl restart sshd