Preface
After installing the Raspbian system on the Raspberry Pi, the ssh service is turned off by default after startup. If you need to connect via ssh, you must first enable the ssh service
1. Create ssh file in SD card
-
The raspbian system defaults to ssh being turned off. The simplest way to turn it on is to create a
ssh
file named in the root directory of the memory card and put it into the Raspberry Pi to restart the ssh service. -
Create a txt file that is named ssh directory in the boot
ssh.txt
and then the suffix.txt
deleted
-
Insert the SD card back into the Raspberry Pi, wait a while after booting, and start the ssh service.
2. Open in raspbian-config
-
Open the terminal and enter the command
sudo raspi-config
-
Choose 5.Interfacing Options
-
Choose P2 SSH
-
Select Yes to enable SSH service
3. Command open
sudo systemctl enable ssh
sudo systemctl start ssh
Linuxitellu synchronous update