Raspberry Pi Enable SSH on Raspbian Enable SSH using a Windows computer


Example

To enable SSH create a file called ssh in the /boot directory of your SD card.

  1. Identify the drive letter associated with your SD card.

  2. Open a command prompt (press Win+R on your keyboard to open the Run window. Then, type cmd)

  3. Enter the following at the command prompt (replacing DriveLetter with the letter you identified in step 1):

    echo.>DriveLetter:/ssh

  4. Press Enter

Verify that your SD card contains a file called ssh.

  1. Enter the following at the command prompt (again replacing DriveLetter with the letter you identified in step 1)

    dir DriveLetter:

  2. Press Enter

You should see an ssh file in the directory listing.

To avoid the security warning mentioned above (re: SSH enabled with the default password) change the default password for the Pi user. This can be done either from the command line with the passwd, the raspi-config script, or settings menu in the Pixel desktop.