2. 64
Connecting with SSH
▪ Secure Shell (SSH)
▪ Shell = “command line interpreter”
▪ Secure, because it is encrypted
▪ SSH establishes encrypted tunnel to a
remote shell
▪ Requires SSH server to be running on
Raspberry Pi
▪ Requires client on your local computer
▪ SSH server is disabled by default
3. 65
Enabling First-Boot SSH Server
▪ For added security, SSH is disabled
▪ Must tell Raspberry Pi to enable it
▪ microSD has two partitions
“boot” (small partition)
“root” (large partition)
▪ Raspberry Pi OS looks for any file called
“ssh” in boot partition.
Enables SSH server, deletes the file
4. 66
Enabling First-Boot SSH Server
▪ Add file “ssh” to boot partition
▪ Reinstall in Raspberry Pi
▪ Power on
▪ Verify networking with ping
▪ Connect with SSH
▪ run raspi-config to enable SSH server
5. 68
SSH Clients
▪ Linux and MacOS
native SSH client in terminal
▪ Windows
Putty
https://putty.org to download
6. 70
Summary
▪ Enable SSH server on first-time boot
Any file named “ssh” in boot partition
▪ Retrieve IP from router DHCP logs
▪ Connect with SSH client
▪ First SSH session requires verifying
encryption key
▪ Permanently enable SSH server using
raspi-config