Chinaunix首页 | 论坛 | 博客
  • 博客访问: 400924
  • 博文数量: 23
  • 博客积分: 6136
  • 博客等级: 准将
  • 技术积分: 992
  • 用 户 组: 普通用户
  • 注册时间: 2006-07-16 15:02
文章存档

2012年(1)

2011年(1)

2010年(7)

2009年(7)

2008年(7)

分类: BSD

2009-01-16 11:32:07

希望用putty采用ssh方式登录FreeBSD,设置说明/etc/ssh/sshd_conf:
1.支持使用口令认证

# Change to yes to enable built-in password authentication.

PasswordAuthentication yes
#PermitEmptyPasswords no


2.允许以Root身份远程登录

PermitRootLogin yes


3.避免提示后长期等待
login as: root
Using keyboard-interactive authentication.
Password:

UseDNS no

 
修改完成后重启sshd
#killall -HUP sshd
阅读(1636) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~