Creating a SSH shortcut

in your computer edit the following file:

.ssh/config

Include the following:

Host=rpi                         # Choose a name you will remember
Hostname=192.168.2.7             # 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

Comments powered by Disqus