Ssh config

To configure SSH on your Respberry Pi, youo will need to enable sshd service in it:

Enabling SSH

Then add your public keys to ~/.ssh/authorized_keys:

touch ~/.ssh/authorized_keys
curl https://github.com/your-username.keys >> ~/.ssh/authorized_keys

Note: If you don't have SSH keys configured yet, you can follow GitHub documentation here and here.

[Optional] Create an entry in ~/.ssh/config in your machine:

Host raspi
  HostName 192.168.77.104
  User pi
  IdentityFile ~/.ssh/id_rsa

With everything in place, you can SSH into RaspberryPi by using:

ssh raspi