Sunday, October 18, 2020

Use NMAP to test SSH connection

 Notes:

Objective: Use nmap tool to scan-thru servers listed in IP_ADDRESS.txt and return the status of sshd.

Workstation IP: 192.168.9.27/24
Remote Server_1 IP: 192.168.9.29/24 and 192.168.56.105/24
Remote Server_2 IP: 192.168.56.102/24

2 files created:
/documents/nmap_test/IP_ADDRESS.txt
/documents/nmap_test/TEST_SSH.sh

Image on the left shows IP addresses in the network and entered them in IP_ADDRESS.txt.

Next step is to install nmap tool in  Server_1.












On Server_1, run nmap tool to check sshd status on Server_2.









Create TEST_SSH.sh and add execute permission to this file.







Run TEST_SSH.sh << Still need to debug this script

No comments:

Post a Comment