linux sshd 開機自啟動

2021-06-02 23:38:39 字數 324 閱讀 1091

redflag linux安裝之後,要想通過ssh遠端訪問,需要手動執行 service sshd start,這樣sshd服務才開啟。

通過chkconfig可以將sshd加入到系統服務中。

[root@localhost ~]# chkconfig sshd on  

可以再檢視sshd的執行級別狀態:

[root@localhost ~]# chkconfig --list sshd

sshd   0:關閉  1:關閉  2:啟用  3:啟用  4:啟用  5:啟用  6:關閉

以後重啟之後,就可以直接通過ssh遠端訪問了。

開機自啟動

1.建立uid3.rss uid3 是mmp 中的 uid 0x100039ce 0xeb32ada7 0xeb32ada7 需要建立的檔案名字是 eb32ada7.rss 建立到工程名下的 data 目錄下 該檔案的內容格式如下 include resource startup item info...

開機自啟動

使程式可以隨windows自啟動的方式有 1.啟動資料夾 將程式或程式的快捷方式放置到啟動資料夾 xp 系統路徑 documents and settings administrator 開始 選單 程式 啟動 win7 2.登錄檔 當前使用者 1 hkey current user softwar...

開機自啟動

注意 一 如果檔案在c program files x86 下,這時無論使用system 命令還是bat命令列,都無法實現,因為系統無法識別空格。這樣需要在program files x86 新增雙引號,即 c program files x86 如果是bat命令列 c program files ...