如何重新啟動SSHD? - BBS

Table of Contents

※ 引述《fbiceo (執行長)》之銘言:
: 我是使用安裝好FREEBSD就有的SSHD服務
: 每次我去修改/etc/ssh/sshd_config檔案後
: 要如何快速重新啟動SSHD呢?
: 我使用/etc/rc.d/sshd restart 無法執行
: 謝謝各位的解答

剛google了一下,查到以下這篇,
http://school.gaoshou.net/freebsd/configtuning-rcng.html
你說用預設的sshd應是指inetd的deamon,去掉inetd.conf內sshd前的#字號
若是standalone的方式,請在rc.conf內加上sshd_enable="YES",
如有錯誤再請各位先進指正囉!


--

All Comments