FreeBSD: enable ssh

 

root账号登录:

 

#先查看运行状态

service sshd status

 

#默认开机启动ssh daemon

service sshd enable

 

#如果运行状态显示没启动,可以现在启动

service sshd start

 

 

或者:

vi /etc/rc.conf

add:

sshd_enable=“YES”

start ssh service:

/etc/rc.d/sshd start

来源:https://ostechnix.com/how-to-enable-ssh-on-freebsd/

 

posted @ 2023-12-27 11:20  profesor  阅读(48)  评论(0)    收藏  举报