Control Web Panel

WebPanel => CentOS Configuration => Topic started by: mluci on March 09, 2017, 04:13:10 PM

Title: Ssh login only from one ip
Post by: mluci on March 09, 2017, 04:13:10 PM
Hi! I want to limit root login only with my ip.How can i do this?
Title: Re: Ssh login only from one ip
Post by: Glenn on April 18, 2017, 09:03:24 PM
add to etc/hosts.allow

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