Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Friday, November 12, 2021

Checking ports with telnet or netcat

 Recently I was working on AWS and was deploying applications on a Fargate cluster. I wanted to make sure the application was up and running and the ports were accessible by other applications. For that purpose I created a bastion host (EC2) but because of the restrictions on my role, I could not install telnet or nc on that EC2 instance. 

But I was able to connect to the ports using the below bash command

</dev/tcp/10.191.226.250/13133 && echo Port is open || echo Port is closed


Wednesday, March 15, 2017

Install and configure PuTTY for making SSH connections

Being able to securely connect to remote hosts from windows using SSH is a very important and common requirement, especially when you are working with remote linux servers. SSH is a high-security protocol. It uses strong encryption to shield your connection from eavesdropping. capture, and other sorts of attack. In this post we will discuss exactly how to do this using PuTTY tool. We will also show how to create and save PuTTY sessions and discuss how to configure login without password using key pair.

PuTTY is a free, open source SSH client and a terminal emulator for windows. It has a very easy to use user interface and the ability to configure and store sessions, so that we can connect to configured hosts in a single click.

Blog Archive