CMD下:

1.终端输入

sudo raspi-config

2.选择 Interfacing Options > SSH > Yes > Ok > Finish

或者

使用systemctl

sudo systemctl enable ssh
sudo systemctl start ssh

另:如果需要配置开机启动SSH。在SD卡的boot分区目录下新建ssh文件,内容为空即可。

https://www.raspberrypi.org/documentation/remote-access/ssh/

网络上志同道合,我们一起学习网络安全,一起进步,QQ群:694839022