Simple ssh connection from laptop
Posted: Sat Jun 02, 2012 7:13 am
Playing around with connecting to rpi from my laptop. I found the following useful:
the ssh service does not start by default. to make it do this use the command
Now reboot the rpi and the ssh service will start automatically. You can now connect to the rpi if you know its ip address but this is a bit annoying as hostnames are easier to remember and don't change. to enable easy hostname connection install avahi on the rpi
Again restart the rpi. Now from your laptop you can connect to the rpi using
Now you can control the rpi just by connecting a power cable and an ethernet cable and logging on from your networked laptop. Phew.
the ssh service does not start by default. to make it do this use the command
Code: Select all
sudo update-rc.d ssh defaults
Code: Select all
sudo apt-get install avahi-daemon
Code: Select all
ssh pi@raspberrypi.local