[問題] 開機啟動ssh

看板Linux作者 (麵T)時間12年前 (2013/08/06 12:05), 編輯推噓1(103)
留言4則, 3人參與, 最新討論串1/1
大家好, 我的作業系統為 DSL 為了要開機啟動 ssh , 我在 /etc/init.d/rcS 最後面加入了 /etc/init.d/ssh restart 重新開機後有出現錯誤,甚至無法編輯rcS把我加入的那行刪掉, 不過再重新開機後就好了,可以開機啟動ssh。 想請問這樣的修改方式ok嗎? -- 我是麵T,哩賀 http://ppt.cc/-eS5 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.117.96.10

08/06 13:43, , 1F
啟動不是start嗎 為什麼要用restart?
08/06 13:43, 1F

08/06 17:54, , 2F
不是: # chkconfig sshd on
08/06 17:54, 2F

08/06 17:54, , 3F
就好? :)
08/06 17:54, 3F

08/21 09:42, , 4F
應該是 /etc/init.d/sshd restart 才對
08/21 09:42, 4F
文章代碼(AID): #1I07NnxF (Linux)