[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
523
Guests online
842
Total visitors
1,365

Forum statistics

Threads
2,275,108
Posts
28,960,686
Members
1,233,596
Latest member
Cox beh
Back
Top