Secure SSH in your Server Please change the below configurations in ssh configuration file (/etc/ssh/sshd_config) order to secure your SSH.
1) Only Use SSH Protocol 2
Protocol 2
SSH protocol version 1 (SSH-1) has man-in-the-middle attacks problems and security vulnerabilities.
2) Only allow particular users
AllowUsers user1 user2
3) Configure Idle Log Out Timeout Interval
ClientAliveInterval 300
ClientAliveCountMax 0
4) Disable .rhosts Files
IgnoreRhosts yes
5) Disable Host-Based Authentication
HostbasedAuthentication no
6) Disable root Login via SSH
PermitRootLogin no
7) Change SSH Port and Limit IP Binding
Port 300
ListenAddress 192.168.*.*
ListenAddress 202.54.*.*
Done