Solution steps to reproduce:
- be sure you are connected on internet so download and install
Raspberry Pi Imager
from official https://www.raspberrypi.org/software/
- so from your macOS
macOS
open up Raspberry Pi Imager
- at operating system choose
Erase Format card as FAT32
. So choose Storage
and then Write
- at operating system choose
Raspberry Pi OS (other)
then choose Raspberry Pi OS Lite (32-bit)
. So choose Storage
and then Write
- to let
ssh
available into raspberrypiraspberrypi
just create an empty file called ssh
into /Volumes/boot
- you can now safely disconnect
/Volumes/boot
- power on raspberrypi with-on via
ethernet
this freshraspberrypi
with the new boot
- be sure on your macOS
macOS
file ~/.ssh/config
is empty
- be sure on your macOS
macOS
file ~/.ssh/known_hosts
is empty
- from your macOS
macOS
open up a terminal and run command ssh [email protected]
so choose yes
and type default password raspberry
- get
ip
of raspberrypiraspberrypi
by running command hostname -I
- run command
exit
- now use command
ssh pi@<ip address you copied just above>
so choose yes
and type default password raspberry
Environment
macOS
➜ ~ sw_vers
ProductName: macOS
ProductVersion: 11.4
BuildVersion: 20F71
➜ ~ /usr/bin/ssh -V
OpenSSH_8.1p1, LibreSSL 2.7.3
raspberrypi
pi@raspberrypi:~ $ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 10 (buster)
Release: 10
Codename: buster
pi@raspberrypi:~ $ ssh -V
OpenSSH_7.9p1 Raspbian-10+deb10u2+rpt1, OpenSSL 1.1.1d 10 Sep 2019