在freebsd开启openssh登陆 发表于 2020-02-28 更新于 2025-12-04 分类于 freebsd 默认情况下 freebsd 全系并不支持ssh远程访问,可已通过直接操作宿主机实现. 修改sshd配置 修改sshd_config的配置,将 12#PermitRootLogin no#PasswordAuthentication no 修改成 12#PermitRootLogin yes#PasswordAuthentication yes 注意这两项前面得#需要去掉 重启sshd服务 1service sshd restart