SSHing into Arch Linux Raspberry Pi

Distributed Systems with Node.js, O'Reilly 2020, has been published!

The Raspberry Pi Arch Linux image runs sshd by default. Assuming you have it plugged into your network with the ethernet jack, you can SSH into it by running (on a remote machine):

$ ssh root@
The authenticity of host ' (' can't be established.
RSA key fingerprint is aa:bb:cc:2d:f3:d7:11:6b:fd:cc:22:72:b2:ac:ee:dd.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '' (RSA) to the list of known hosts.
root@'s password: root

[root@alarmpi ~]# cat /proc/cpuinfo
Processor : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS : 697.95
Features : swp half thumb fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xb76
CPU revision : 7

Hardware : BCM2708
Revision : 0002
Serial : 0000000000000001

That is, if you're lucky enough that your router reports to you the IP address of the devices on your network. If you aren't lucky (like me), you'll need to attach a monitor to your pi, log in with the root:root credentials, and run ifconfig to figure out what the IP address is.

With my particular setup, the HDMI doesn't seem to want to work properly, so I have to use the RCA jack for now. Luckily me I don't plan on using a display with it so it's not the end of the world.

Thomas Hunter II Avatar

Thomas has contributed to dozens of enterprise Node.js services and has worked for a company dedicated to securing Node.js. He has spoken at several conferences on Node.js and JavaScript, is an O'Reilly published author, and is an organizer of NodeSchool SF.