Monday 16 December 2013

Linux - Disable Root SSH Access

Disable Root SSH Access

I needed to disable root ssh access without disabling root user or su - root.

in order to do this, it really is easy.

edit /etc/ssh/sshd_config

To do this you can use vi:
vi /etc/ssh/sshd_config

find the line that says:
#PermitRootLogin yes

change that line to
PermitRootLogin no

save and restart sshd
you can do that by:
/etc/init.d/sshd restart

now root cannot be logged in through ssh anymore.

#bearMan

1 comment:

  1. Only one participant per color is allowed to play casino checks on the inside at any given time. In American roulette, there are 18 pink spaces, 18 black spaces and two green spaces. In single 온라인카지노 zero—and European—roulette, there simply one|is solely one} green area. The finest roulette site delivers a incredible participant expertise, offers profitable bonuses and the most important payouts. To find out which casino we’ve ranked high for this month check out at|try} our toplist.

    ReplyDelete