转载:
因为是在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 ‘PermitRootLoginyes’>>/etc/ssh/sshd_conf
# echo ‘PasswordAuthenticationyes’>>/etc/ssh/sshd_config
4. 启动ssh服务
# /etc/rc.d/sshdstart
FreeBSD开启SSH服务,允许root登录-冰山上的来客-ChinaUnix博客 http://blog.chinaunix.net/uid-7762821-id-2044272.html
转载于:https://blog.51cto.com/kissofsun/1620251