Knowledge for the World

How to log in to a Raspberry Pi via SSH

Once Raspbian is installed, your Pi is powered on and connected to the network, you can now log in via SSH.

In these interests [?]
  • linux
    35 Subscribers Subscribe
  • ssh
    0 Subscribers Subscribe
  • pi
    82 Subscribers Subscribe
1

Get the username and password

The default username and password for the Raspberry Pi is

username: pi password: raspberry

Of course, if you've changed the password you'll need to use the updated password.

2

Use the SSH command

The default hostname for the Pi is raspberrypi, so we can SSH in using:

ssh pi@raspberrypi

Type the password when you see the password prompt. For security purposes you won't see the password as you type.

You might encounter a host verification warning that ends with something like this:

The authenticity of host 'xxx (xxx)' can't be established.
RSA key fingerprint is 3f:1b:f4:bd:c5:aa:c1:1f:bf:4e:2e:cf:53:fa:d8:59.
Are you sure you want to continue connecting (yes/no)? 

Just type "yes" and hit enter. This is a security measure to let you know you're trying to connect to a host for the first time. After connecting, the host will be added to the known_hosts file, and you won't see this warning again.