How to access the Raspberry Pi from laptop by using PuTTY

voyervoyer
2 min read

The Raspberry Pi is a flexible single-board computer used by enthusiasts to create electronics projects. Enabling SSH access on your Pi allows for remote command line access from client devices such as laptops. On Windows laptops, the open-source PuTTY tool allows you to open an encrypted SSH session and safely administrate the Linux-based Raspberry Pi OS interface.

Explore the process of use SSH key with SSH agent in PuTTY.

Raspberry Pi setup.

Make sure your Raspberry Pi is configured and linked to the same network as your laptop.

Network connections:

Make sure your Raspberry Pi is turned on and linked to the same local network as your laptop using an Ethernet wire or Wi-Fi.

PuTTY Installed:

PuTTY downloaded and installed on your computer.

Find Raspberry Pi IP Address:

To get your Raspberry Pi's IP address, use the following command in the terminal: hostname-I

Configure the PuTTY session:

In the PuTTY configuration window enter the Raspberry P IP address into the Host Name section.

Make sure that "Connection type" is set to SSH and port to 22.

Save the session:

To save the session for future use, provide a name in the "Saved Sessions" section and click "Save."

Establish a connection:

To initiate the SSH connection, click the "Open" button.

Log into Raspberry Pi:

When prompted, provide the Raspberry Pi's default login and password. By default Username: pi

Password: raspberry.

Now you successfully connect to your Raspberry Pi from your laptop via PuTTY. This enables you to access and operate your Raspberry Pi's command line remotely.

0
Subscribe to my newsletter

Read articles from voyer directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

voyer
voyer