Chinaunix首页 | 论坛 | 博客
  • 博客访问: 369671
  • 博文数量: 59
  • 博客积分: 2490
  • 博客等级: 大尉
  • 技术积分: 795
  • 用 户 组: 普通用户
  • 注册时间: 2007-06-16 16:25
文章分类

全部博文(59)

文章存档

2011年(1)

2010年(9)

2009年(21)

2008年(28)

我的朋友

分类: BSD

2010-11-18 11:44:00

因为是在vmware上装的FreeBSD,用vmware console把玩系统有点麻烦,就是想起可以开启FreeBSD系统的SSH服务器,再用ssh客户端软件(putty)来更省事一点。以下是配置过程,备忘

1.开机启动ssh服务,编辑/etc/rc.conf文件

 #echo ‘sshd_enabl=”YES’>>/etc/rc.conf

2.   编辑/etc/inetd.conf文件,找到ssh开头的,有2行,在这2行最前头加上#注释掉

3.   编辑/etc/ssh/sshd_config,增加以下几行

  # echo ‘PermitRootLogin yes’>>/etc/ssh/sshd_conf 

  # echo ‘PasswordAuthentication yes’>>/etc/ssh/sshd_config

4.  启动ssh服务

# /etc/rc.d/sshd start


阅读(4362) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~