>/etc/rc.conf//启动服务#/etc/rc.d/sshdstart ;小李飞刀资源网更新日期:2024/9/20.">

通过posts安装 OpenSSH

操作系统 发布日期:2024/9/20 浏览次数:1

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

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

  添加自启动  

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

  //启动服务  

# /etc/rc.d/sshd start