>/etc/rc.conf //启动服务 #/etc/rc.d/sshd start ;明霞山资源网更新日期:2025/2/24.">

通过posts安装 OpenSSH

操作系统 发布日期:2025/2/24 浏览次数:1

正在浏览:通过posts安装 OpenSSH
安装

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

  添加自启动  

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

  //启动服务  

# /etc/rc.d/sshd start