Skip to content
Home » Blog » How to Remote access your Raspberry PI using Putty

How to Remote access your Raspberry PI using Putty

  • by
How to Remote access your Raspberry PI using Putty
Reading Time: 3 minutes

How to Remotely access your Raspberry PI using Putty

Hey there, it’s me again! In this article, I’m going to guide you through the process of remote accessing your Raspberry Pi using PuTTY, a program that allows you to connect to your Raspberry Pi from a Windows PC.

If you’re tired of connecting a monitor and a mouse to your Raspberry Pi, this method will make your life easier. Let’s get started!

Steps to Remotely Access Your Raspberry Pi:

Download and install PuTTY on your computer:

Visit the website https://www.putty.org/ and navigate to the downloads section.

Click on the “Download PuTTY” link and select the appropriate version for your Windows.

Once the download is complete, right-click the file and pin it to the taskbar for easy access.

Connect your Raspberry Pi to the network:

Make sure your Raspberry Pi is connected to the same network as your computer.

Connect the Ethernet cable from your Raspberry Pi to your router.

Find the IP address of your Raspberry Pi:

Open the command prompt on your computer by typing “CMD” in the search bar and selecting the Command Prompt app.
In the command prompt, type “ping raspberry pi” and press Enter.

The command prompt will display the IP address of your Raspberry Pi as a response to the ping request.

Take note of this IP address.

Normally, your Pi’s hostname will be something like “raspi” or “raspberrypi” if you’re using Raspberry Pi OS. If your device is running Retropie, its hostname will be “retropie”.[1]

Troubleshoot ping raspberry pi destination host unreachable?

  1. Check the network connection:
    • Ensure that your Raspberry Pi is properly connected to the network.
    • Verify that your router and modem are functioning correctly by restarting them.
  2. Verify the IP address:
    • Double-check that you are using the correct IP address to ping your Raspberry Pi.
    • You can find the IP address by running the command ifconfig on your Raspberry Pi or by checking your router settings.
  3. Check the firewall settings:
    • Confirm that the firewall on your Raspberry Pi is not blocking incoming connections.
    • Run the command sudo ufw status on your Raspberry Pi to check the firewall settings.
  4. Verify the SSH settings:
    • If you are using SSH to connect to your Raspberry Pi, ensure that SSH is enabled.
    • Use the command sudo raspi-config on your Raspberry Pi to access the “Interfacing Options” menu and verify SSH settings.
  5. Verify the network configuration:
    • Check the network configuration on your Raspberry Pi to ensure its accuracy.
    • Access the network configuration file by running the command sudo nano /etc/network/interfaces on your Raspberry Pi.

If the “Destination host unreachable” error persists after attempting these solutions, it may be necessary to seek further assistance or consult additional resources for advanced troubleshooting.

Establish Remote access to your Raspberry PI using Putty

Open PuTTY and establish a connection

  • Launch PuTTY by clicking on the pinned icon on your taskbar.
  • In the PuTTY configuration window, enter the IP address of your Raspberry Pi in the “Host Name” box.
  • Make sure to set the port to 22 (which is the default for SSH) and set the connection type to SSH.
  • Click the “Open” button to initiate the connection.
  • Accept the server’s key fingerprint:
  • When prompted, click “Yes” to accept the server’s key fingerprint, This is a security measure to ensure you are connecting to the correct device.
  • Enter your Raspberry Pi’s login credentials:
  •  username “pi” (default) when prompted for the login username.
  •  password “raspberry” (default) when prompted for the password.

 

Conclusion:

Congratulations! You have successfully established a remote connection to your Raspberry Pi using PuTTY.

Now you can control your Raspberry Pi through the command line interface from your Windows PC.

Enjoy exploring and experimenting with your Raspberry Pi remotely!

Read More:

How to SSH into Raspberry PI Outside Network

Sources:

[1], [2], [3]

Subscribe to our mail list!

We don’t spam! Read our privacy policy for more info.