編輯/etc/rc.conf
#vi /etc/rc.conf
加入下面一行
sshd_enable="YES"
這樣重新開機就會有sshd的服務了。
編輯/etc/ssh/sshd_config
#vi /etc/ssh/sshd_config
允許遠端 Root 登入 PermitRootLogin yes
再重新啟動 /etc/rc.d/sshd restart 就OK了
FreeBSD關機指令:
1. reboot:重新開機
2. halt:關機:支援電源管理的電腦,可以自動關閉電源。
沒有留言:
張貼留言