Passwordless SSH access to the RPi

Got it working, and added some security changes.

Step 1: see about generating ssh keys if you haven't already got them present in ~/.ssh (make sure you've used ssh-add and make sure the value for AuthorizedKeysFile in /etc/ssh/sshd_config is set to '%h/.ssh/authorized_keys')

Step 2: use excluding the key gen section to get passwordless ssh working, turn off passwords, and get port forwarding working.  Remember, to update settings on the router, go to - but only from the 1 of the 2 approved devices that you set.

Step 3: test the ability to login from a remote ssh client : 'ssh -p'


Popular Posts