Thursday, January 12, 2017

How to enable SSH on Raspbian

Previously enabling raspbian, meant you have to boot to the card. Then enable and configure ssh service. 
But with since 2016, there's a simple method. That is on the boot partition of your SD Card, create an empty file with name 'ssh' - without quotes - and when you boot from this SD Card, SSH services are auto-enabled.

To create the file you can use following commands: 

touch /media/user/boot/ssh

Touch creates the file and sync ensures that it's written to the SD Card, flushing any pending write buffers for the SD Card. 

No comments:

Post a Comment