Thursday, May 8, 2014

SSH shorcut

in your computer edit the following file:

  • nano .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

No comments:

Post a Comment