>/etc/rc.conf //启动服务 #/etc/rc.d/sshd start; 更新日期:2025/3/3">

通过posts安装 OpenSSH

(编辑:jimmy 日期: 2025/3/3 浏览:2)

安装

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

  添加自启动  

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

  //启动服务  

# /etc/rc.d/sshd start