Before trying to make an SSH connection, make sure that can your PC ping
the raspberry pi? To check it, open terminal on your PC (the operating system does not matter) then:
ping raspberrypi.local
Or ping
it by its IPv6:
ping raspberrypi
If the result is telling that the host is unreachable
or request time out
, it's a problem with your network because you have written the official raspbian image file to the SD-Card and its default hostname is raspberrypi
.
If the ping process tells you that the raspberrypi
host is reachable with Reply from ...
or something else, you can make an SSH connection by pi@raspberrypi.local
or on PuTTY, add raspberrypi.local
as Host Name (or IP address) with default port 22.
If all of this procedure is working but still you do not have any SSH access to raspberry pi, you should make sure is the SSH enabled or not.
As your question body, you did not mention adding an ssh
file to boot
partition. To solve this problem, check the link below:
How to enable SSH without a Monitor or Screen
If you are looking for a way to getting the IP address of the raspberry pi, there is a lot of IP scanner for Windows, Linux even Android and iOS. Just search about that and give it a try. Also, if the ping raspberrypi.local
is working, you can get the exact IP address by this command on Windows os Linux:
nslookup raspberrypi.local
The output would be something like this:
Server: UnKnown
Address: 192.168.1.1
Non-authoritative answer:
Name: raspberrypi.local
Address: 192.168.1.110