Monday, April 21, 2025

Step-by-Step to connect (ssh) into a Linux Server( ubuntu flavor) with Putty from a windows11 OS local machine

 

twtech-db-server running in clouds: AWS

How twtech downloads and install putty open source tool to the windows machine (windows11).

Go to the link: https://www.putty.org/

Select the 64bitx86 windows installer:

Putty package downloaded

Go to download folder of the windows local machine and run the setup.





Confirm and install Putty:



In the putty file location, there will : puTTYy and puTTygen.

Right-click on puTTY and sent to the desktop for easier access.

Right-click on puTTYgen and sent to the desktop for easier access.

Go to desktop to verify if the shortcuts were sent successfully:

First open puTTYgen:

Let generate the ppk format from here

Upload the key.pem to generate (convert) the file in pkk format

Select all file from dropdown menu of file categories to select the key.pem and open the file.


Save it as private key:  

Confirm to save private key.


Use putty to ssh into the instance: Go to desktop and open putty app.

Copy the public IP address of Server(twtech-db-server)we want to ssh into (connect)

Configure the PublicIP and assign a saved sessions (twtech-EC2 Instance)

Click on saved sessions: twtech-EC2 Instance 

We still need to authenticate user login and  configure the path to ssh-key (twtec-puttykey.ppk)

(close this windows)

Go back  to puTTy and click on saved session: twtech-EC2 Instance and Load

Add the hostname  (ubuntu, ec2-user) to the PubIPaddress to authenticate user login: and save configurations again.


How twtech adds the private key converted (twtech-puttykey.ppk) to putty.

Click on ssh

Then:   Auth,

then, Credentials

Select the private key ( twtech-puttykey.ppk) and upload.

Go back to session: save configuration.

Open putty to access the instance ( twtech-db-server)

twtech successfully connect (ssh) into a linux server with putty tool 

twtech-users can now run all commands on the terminal.

No comments:

Post a Comment

Kubernetes Clusters | Upstream Vs Downstream.

  The terms "upstream" and "downstream" in the context of Kubernetes clusters often refer to the direction of code fl...