Skip to content

Instantly share code, notes, and snippets.

@edonosotti
Last active January 22, 2019 17:25
Show Gist options
  • Save edonosotti/d7500e004e8f05dd955716446f297ffc to your computer and use it in GitHub Desktop.
Save edonosotti/d7500e004e8f05dd955716446f297ffc to your computer and use it in GitHub Desktop.
Enable SSH at boot on Raspberry Pi, Raspbian

Enable SSH at boot on Raspberry Pi, Raspbian

Description

SSH is not enabled by default on Raspbian at the time of writing.

Tested on:

  • Version:November 2018
  • Release date: 2018-11-13
  • Kernel version: 4.14

Instructions

  1. Log in to your Raspberry Pi
  2. Open a Terminal
  3. Type the following commands at prompt:
    $ cd /boot
    $ sudo touch ssh
    $ sudo reboot
    

The Raspberry Pi will be rebooted and SSH will be run at startup.

Please note that the /boot/ssh file will be removed, but the "start SSH at boot option" will be set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment