How to start ssh on raspberry pi 3b+ ubantu mate and use win10 putty to remote control

Copyright statement: This article is a reprinted article, in compliance with the CC 4.0 BY-SA copyright agreement, please attach the original source link and this statement for reprinting.
Link to this article: https://blog.csdn.net/W0X0G0C/article/details/89838665

Problem: After the Raspberry Pi burned the system, ssh could not be turned on, and then searched for various methods on the Internet, and finally solved

method 1

Create a file ssh in the boot partition of the memory card, then delete the Pi's ip address searched by the router, and log in with the default account and default password

result

First of all, this method has no effect on Ubuntu MATE
. Then, after Ubuntu MATE burns, there is no default login account and password, and an external monitor is required to follow the boot settings

Method 2

Raspberry Pi 3b+ comes with a wireless network card,
Ubuntu system prohibits the use of ssh by default

1. First remove the system prohibition and execute the sudo raspi-configcommand in Ubuntu MATE
2. Enter the ROOT password
3. Use the arrow keys to select the third item Interfacing Options and press Enter
4. Select P2 ssh and press Enter
5. Select yes to press Enter
6. Wait for the completion of the press Enter Confirm
7.tab and select finish
8. Then reinstall ssh, first sudo apt autoremove openssh-serveruninstall the ssh service
9. sudo apt updateUpdate apt resources
10. sudo apt install openssh-serverInstall ssh
11. sudo service ssh startStart ssh, you should enter the root password here, and you can connect via ssh when you finish it
. 12. update-rc.d ssh enableSet boot to start
13. Finally ifconfigcheck the local IP

According to the method of this great god, I opened putty once and the connection was successful, thank you~~~~

Copyright statement: This article is a reprinted article, in compliance with the CC 4.0 BY-SA copyright agreement, please attach the original source link and this statement for reprinting.
Link to this article: https://blog.csdn.net/W0X0G0C/article/details/89838665

Problem: After the Raspberry Pi burned the system, ssh could not be turned on, and then searched for various methods on the Internet, and finally solved

method 1

Create a file ssh in the boot partition of the memory card, then delete the Pi's ip address searched by the router, and log in with the default account and default password

result

First of all, this method has no effect on Ubuntu MATE
. Then, after Ubuntu MATE burns, there is no default login account and password, and an external monitor is required to follow the boot settings

Method 2

Raspberry Pi 3b+ comes with a wireless network card,
Ubuntu system prohibits the use of ssh by default

1. First remove the system prohibition and execute the sudo raspi-configcommand in Ubuntu MATE
2. Enter the ROOT password
3. Use the arrow keys to select the third item Interfacing Options and press Enter
4. Select P2 ssh and press Enter
5. Select yes to press Enter
6. Wait for the completion of the press Enter Confirm
7.tab and select finish
8. Then reinstall ssh, first sudo apt autoremove openssh-serveruninstall the ssh service
9. sudo apt updateUpdate apt resources
10. sudo apt install openssh-serverInstall ssh
11. sudo service ssh startStart ssh, you should enter the root password here, and you can connect via ssh when you finish it
. 12. update-rc.d ssh enableSet boot to start
13. Finally ifconfigcheck the local IP

Guess you like

Origin blog.csdn.net/chenzz444/article/details/102633883