Setup SSH

Install the ssh daemon

sudo apt update && sudo apt install ssh

sudo systemctl start ssh && sudo systemctl enable ssh

You will need to find your iparrow-up-right. Avoid using the dynamic pi.local address as this uses mDNS which can cause unexpected behavior in other applicaitons.

Verify you can ping the device

$ ping pi5-tutorial
PING pi5-tutorial (100.64.155.31) 56(84) bytes of data.
64 bytes from pi5-tutorial (100.64.155.31): icmp_seq=1 ttl=64 time=60.4 ms
64 bytes from pi5-tutorial (100.64.155.31): icmp_seq=2 ttl=64 time=6.26 ms
^C
--- pi5-tutorial ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 6.255/33.340/60.426/27.085 ms

OR

  1. Write it down and type it out each time

$ ping 100.64.155.31
PING 100.64.155.31 (100.64.155.31) 56(84) bytes of data.
64 bytes from 100.64.155.31: icmp_seq=1 ttl=64 time=81.8 ms
^C
--- 100.64.155.31 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 81.796/81.796/81.796/0.000 ms

I will use the pi5-tutorial hostname for the rest of the tutorial

Verify you can ssh into the device:

Last updated