[REDACTED]

To make it even better, you can edit /etc/hosts.deny and specify / authorise only specific IP address or address to access the Server. you can access the server using a VPNs with a static IP address. Only the IP addresses would be allowed to log in other would be blocked. Scroll to the end when you edit /etc/hosts.deny and add:

sshd: ALL EXCEPT xx.xx.xx.xx, xx.xx.xx.xx, xx.xx.xx.xx

where xx.xx.xx.xx IPs allowed to access server.
 

About this Thread

  • 4
    Replies
  • 1K
    Views
  • 5
    Participants
Last reply from:
PHC - Alimar23

Online now

Members online
957
Guests online
4,767
Total visitors
5,724

Forum statistics

Threads
2,350,460
Posts
29,367,302
Members
1,087,702
Latest member
kearch12
Back
Top