[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
542
Guests online
2,647
Total visitors
3,189

Forum statistics

Threads
2,301,256
Posts
29,141,693
Members
1,199,923
Latest member
jaywahahaha8
Back
Top