注册 | 登录 忘记密码? 51cto首页 | 博客 | 论坛 | 招聘
热点文章 raymond关于番茄花园事件..
 帮助

FreeBSD下SSH安装配置


2008-02-26 14:17:32
 标签:安装 配置 FreeBSD SSH    [推送到技术圈]

sshd的配置文件一般位于/etc/ssh/sshd_config。
  终端下:#ee /etc/ssh/sshd_config
  ---------------------------------------------
  #Protocol 2,1
  修改为:
  Protocol 2
  #ListenAddress 0.0.0.0
  修改为:
  ListenAddress 0.0.0.0
  #PermitRootLogin yes
  修改为
  PermitRootLogin yes
  (Linux上默认允许root用户登录,此处可不修改。)
  修改完成后重启sshd:
  /etc/rc.d/sshd restart
  -------------------------------
  现在即可ssh登陆.




    相关文章
    文章评论
 
 

发表评论

昵   称:
验证码:  点击图片可刷新验证码  博客过2级,无需填写验证码
内   容: