Add new whitelist IP using SSH

  1. Login to the console using Putty.
  2. Type this at command line after login: nano /etc/hosts.allow
  3. Add the new IP in the existing list of IPs separated by a comma
  4. Save the file by pressing Ctrl X
  5. Confirm saving by typing ‘Y’

and save the file by pressing Ctrl X

and then y and press enter

Leave a Comment

Your email address will not be published. Required fields are marked *

35 − = 30