Creating a SSH shortcut

in your computer edit the following file:


Include the following:

Host=rpi                         # Choose a name you will remember
Hostname=             # your RPi ip  address
User=pi                          # User name on RPi, default=pi

now you can source the file

source .ssh/config

and then just ssh to your RPi using the shortcut

ssh rpi

finally type your password


Comments powered by Disqus