SSHing into Arch Linux Raspberry Pi

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@192.168.1.10
The authenticity of host '192.168.1.10 (192.168.1.10)' 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 '192.168.1.10' (RSA) to the list of known hosts.
root@192.168.1.10'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.

5 Responses to “SSHing into Arch Linux Raspberry Pi”

  1. How do you SSH from an external computer though?

    Reply
  2. Another method of finding the IP address without connecting a monitor is connect to your router page and see what its allocated it

    Dave

    Reply
  3. you have also forgotten to mention that “ssh” as root will be denied by default. You have to edit /etc/ssh/sshd_config and uncomment “PermitRootLogin yes”.

    Reply
  4. Another way to find your PiIP is using a port scanner.
    If you know the ip of your router just scan for all connected devices on the router. Sometimes this shows a name or something that can identify your device. If not just run the scan twice, connect your Pi the second scan and check the output for differences.

    For nmap you can run this command: (I use router IP 192.168.0.1 as an example)

    (sudo) nmap -sL 192.168.0.1/32

    This scan will take a while to finish and some systems might require you to use the sudo command.

    Reply

Comment

  • (will not be published)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>