文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>sshd 简单配置

sshd 简单配置

时间:2009-06-02  来源:vepeta

sshd 简单配置 为了安全,我们最好还是简单的配置sshd,做些防范。
配置文件 /etc/ssh/sshd_config
注意以下几个主要参数设定:
Port 22 #sshd监听22端口
Protocol 2 #使用协议版本2
LoginGraceTime 2m #2分钟内客户端不能登录即登录超时,sshd切断连接。
PermitRootLogin no #不允许root登录
X11Forwarding no #禁止用户运行远程主机上的X程序
AllowUsers kevin #允许kevin这个用户登录
重启一下sshd,这个配置文件就起作用了。
/etc/init.d/sshd restart
相关阅读 更多 +
排行榜 更多 +
PvZ戴夫的时空冒险重置

PvZ戴夫的时空冒险重置

策略塔防 下载
PVZTV雪版阳光加50

PVZTV雪版阳光加50

策略塔防 下载
双刃战士雪姐

双刃战士雪姐

冒险解谜 下载