1 頁 (共 1 頁)

SSH Connection Failed

發表於 : 2020-03-16 21:15:26
sam749
IF YOU’RE USING A VERSION OF RASPBIAN RELEASED AFTER NOVEMBER 2016, THERE IS ONE EXTRA STEP:

SSH was disabled by default in Raspbian versions released after November 2016. One way to enable it is to access the raspi-config menu and turn it on. However, we’re setting it up headless so we don’t have access to the command prompt yet. Luckily there’s another way to turn on SSH…

All you need to do is create an empty file called “SSH” and place it in the root partition of the SD card. The file should have no extensions like “.txt” or “.doc”. The easiest way to do this is to open up a text editor like Notepad and save the blank page as “SSH.txt”. Close the text editor, then rename the file to delete the “.txt” extension. After that, move the file to the top level folder of the SD card (the root partition).

Now you can eject the SD card from your computer and insert it into your Pi.