default setting
- username: vickyyang
- password: some pass
enable ssh
- Insert the microSD card into your computer after flashing the image.
- Navigate to the boot partition of the SD card (this should be labeled boot).
- Create an empty file named ssh (no extension):
- On Windows, open Notepad, save an empty file as ssh (select All Files as the type).
- On Linux/macOS, run:
touch /Volumes/boot/ssh
# macOStouch /boot/ssh
# Linux (if mounted at /boot)
- Eject the microSD card and insert it into the Raspberry Pi.
- Power on the Raspberry Pi – SSH should now be enabled.
Current version is 'touch /Volumes/bootfs/ssh`
another way
sudo systemctl enable ssh
sudo systemctl start ssh.
Find the Raspberry Pi's IP Address
ping raspberrypi.local
nmap -sn 192.168.1.0/24
ssh pi@<your_pi_ip>
change setting
sudo raspi-config
init
sudo apt update
sudo apt upgrade