码迷,mamicode.com
首页 > 系统相关 > 详细

Linux - SSH

时间:2015-11-14 13:46:31      阅读:295      评论:0      收藏:0      [点我收藏+]

标签:

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

Linux - SSH

标签:

原文地址:http://www.cnblogs.com/iwasmu/p/4964218.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!