web analytics

SSH Penetration Testing Port_22

Rate this post

The SSH protocol, also known as Secure Shell, is a technique for secure and reliable remote login from one computer to another. It offers several options for strong authentication, as it protects the connections and communications\ security and integrity with strong encryption. It is a secure alternative to the nonprotected login protocols (such as telnet, rlogin) and insecure file transfer methods (such as FTP).

SSH Installation

It is very easy to install and configure the SSH service. We can directly install the SSH service by using the openssh-server package from the Ubuntu repo. To install any service, you must have a root privilege account and then follow the given below command. apt install openssh-server

When you execute the above command, it will extract the package and install the default configuration on the host machine. You can check the open port with the help of the netstat command on the host machine.

SSH Port Scanning

If you don’t have direct access to the host machine, use nmap to remotely identify the port state that is considered to be the initial step of the penetration test. Here we’re going to use Kali Linux to perform penetration testing. So, to find an open port on a remote network, we’ll use an nmap version scan, which will not only find an open port but also perform a banner grab that displays the installed version of the service. nmap -sV -p22 192.168.1.103

Views: 0

LinkedIn
Twitter
Facebook
WhatsApp
Email

advisor pick´S post