New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Ssh login only from one ip

Started by mluci, March 09, 2017, 04:13:10 PM

Previous topic - Next topic

mluci

Hi! I want to limit root login only with my ip.How can i do this?

Glenn

add to etc/hosts.allow

sshd : localhost : allow
sshd : allowedipaddress : allow
sshd : ALL : deny