SSH to your Raspberry Pi

Login to your Raspberry Pi with the default user/pass:

user: pi
pass: raspberry

Run the following in the terminal:

$ sudo raspi-config

Navigate to ssh, press Enter

Select Enable or Disable SSH server.

Run:

$ sudo reboot

After the Raspberry Pi is restarted check your ip-address with:

$ ifconfig

Write or note down the ip address!

It is also good to change password, so nobody else can get in. Do this by running:

$ sudo -i
$ passwd pi

And remember the password so you won’t forget :)

Then when you want to SSH to your Raspberry Pi from another computer, just enter:

ssh pi@<THE IP ADDRESS YOU GOT WITH IFCONFIG ON YOUR PI>

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.