Allowing SSH from a specific IP


Users cannot connect to site from and admin perspective through SSH


Using VI

  1. Connect to the server via SSH
  2. vi /etc/hosts.allow
  3. Once you are inside the file, to start editing press ā€œiā€
  4. Add a record sshd:IP Address (eg: sshd:
  5. Press ESC to stop editing
  6. To save and exit type ā€œ:wqā€