This Repository for test case purpose.
How to use this program
This program has 2 file written in java and 1 in bash script. The program in java will run the client server program that will show how much SSH login attempts. The Bash Script will collect the information that need to send to the server.
Prerequisite
- Your server and client required to have jave installed on the machine.
Run the program
- Place java server program server.java in /home/user (Node A)
- Place java client in /home/user in other machine (node B)
- Change the Server IP address in client.java, adjust with the server IP (node A)
- Run bash file "sshattempt.sh"
- monitor the server (node A)