您的位置:首页 > 运维架构 > Linux

Linux - SSH

2015-11-14 13:29 435 查看

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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: