1

I bought Raspberry PI 4 and I need to connect to it via SSH because I do not have micro HDMI yet. I'm trying to establish the SSH connection, but PuTTY returns "Connection refused" error, but the IP is correct (The ping command on that IP works and in router administrations, there is a column with raspberrypi and IP to that raspberry). On SD card I have the Raspbian 4.19 burned using etcher, so the system should be booted properly.

1

You need to enable SSH on Raspberry.

Run

raspi-config

select Interfacing Options and navigate to and select SSH and choose Yes.

Then reboot.

If you don't have direct access to the Raspberry with a monitor and a keyboard place a file named exactly ssh on the FAT partition of the SD card. This will activate the ssh server at the next boot.

You can find all the detailed instructions on Raspberry PI official documentation

|improve this answer|||||
  • I tried to create a 'ssh' file, but that requires to format the SD card to some file system and Windows can not recognize the file system, so if I tried to open the SD card in explorer, it says that the SD card need to be formatted to FAT or NTFS, which deletes the system. – Alex Nov 20 '19 at 14:52
  • The SD card burnt with the Raspain images is made of two partitions. The boot partition, where you have to put the ssh file is a FAT32 partition so you should see a manage it also on Windows. Probably you clicked on the other partition that is not recognized by Windows. – Roberto Giorgetti Nov 20 '19 at 15:11
  • Thanks you a lot, the problem was, that I needed to assign a letter for boot partition (e.g. E:) in disk manager, and after I was able to create a empty file. – Alex Nov 20 '19 at 18:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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