>/etc/rc.conf //启动服务 #/etc/rc.d/sshd start; 相思资源网更新日期:2024/10/4">

通过posts安装 OpenSSH

(编辑:jimmy 日期: 2024/10/4 浏览:2)

安装

# cd /usr/ports/security/openssh
# make install clean

  添加自启动  

# echo "sshd_enable=YES" /etc/rc.conf

  //启动服务  

# /etc/rc.d/sshd start