How to establish secure connection to Raspberry Pi from ubuntu by PuTTY?

puttygennputtygenn
2 min read

Connecting to a Raspberry Pi with PuTTY from an Ubuntu machine entails building a safe and efficient communication channel. PuTTY, a popular SSH client, provides a secure connection that allows users to remotely interact with their Raspberry Pi.

Explore how to establish secure connection to Node by using PuTTY.

Follow these steps to connect these two devices and provide command-line access and control of the Raspberry Pi's operations from an Ubuntu environment:

Enabling SSH on the Raspberry Pi:

Start up the Raspberry Pi terminal. Execute the following command:

sudo raspi-config

Navigate to the interface option, then pick SSH and enter. Then shut the window.

Find the Raspberry Pi IP address here:

Run the following command in the terminal to determine the Raspberry Pi's IP address:

hostname -I

Setup PuTTY:

If PuTTY is not already installed on your Ubuntu machine, use the commands below to install it:

sudo apt update

sudo apt install putty

Setup the PuTTY connection:

Launch the PuTTY configuration dialog. In the Hostname section, enter the Raspberry Pi IP address or username.

Set the connection type to SSH and the port number to 22.

To store the connection, enter a name in the "Saved Sessions" area and click store. When asked, enter your username and password.

You have successfully created a connection to the Raspberry Pi from Ubuntu using PuTTY to manage its operations remotely by following this procedure.

0
Subscribe to my newsletter

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

Written by

puttygenn
puttygenn