Linux - SSH

Overview


#apt-get install openssh-server

#apt-get install ssh

#/etc/init.d/ssh start|stop|restart

The configuration /etc/ssh/sshd_config


How to allow root ssh login

#vi /etc/ssh/sshd_config

# Authentication:

LoginGraceTime 120

PermitRootLogin without-password

StrictModes yes

Change

PermitRootLogin without-password

PermitRootLogin yes

posted on 2015-11-14 13:29  devcfei  阅读(123)  评论(0编辑  收藏  举报