1

So I tried setting up my headless pi with Raspbian like I usually do:

  • Flash Raspbian to µSD (using Etcher)

  • add zeroconf address to cmdline.txt (ip=169.254.10.1)

  • add empty file 'ssh' to boot partition without extension

But this time, when I try to ssh into my pi (ssh pi@169.254.10.1) it says:
ssh: connect to host 169.254.10.1 port 22: Connection refused

Anyone who knows what might be wrong?
(the steps mentioned above are the only ones I've done)

closed as unclear what you're asking by goldilocks Jan 13 '18 at 13:02

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

1

ssh is activated if there is an empty ssh file in the boot partition!

Ref.: https://www.raspberrypi.org/documentation/remote-access/ssh/

  • you are correct, but as OP stated he already created enpty ssh file in boot partition. – Chetan Bhargava Jan 12 '18 at 22:19
  • There is a huge difference between "root" and "boot" partition, read the question again @ChetanBhargava – MatsK Jan 12 '18 at 22:32
  • @Dr. Casual: Is your empty ssh file still there? Where exactly? In some cases this file gets deleted after restart, see comments here: raspberrypi.org/blog/a-security-update-for-raspbian-pixel – Fabian Jan 12 '18 at 22:44
  • @MatsK well, I assumed that OP did a typo as his process "usually" works fine. – Chetan Bhargava Jan 12 '18 at 22:48
  • @ChetanBhargava And I assume that the OP can spell correct. – MatsK Jan 12 '18 at 23:24

Not the answer you're looking for? Browse other questions tagged or ask your own question.