Unix/BSD

关注公众号 jb51net

关闭
操作系统 > Unix/BSD >

通过posts安装 OpenSSH

佚名

安装

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

  添加自启动  

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

  //启动服务  

# /etc/rc.d/sshd start