[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
1,190
Guests online
18,552
Total visitors
19,742

Forum statistics

Threads
2,289,309
Posts
29,057,725
Members
1,213,677
Latest member
loupaloupz23
Back
Top