導讀 |
Ubuntu系統是企業和個人比較常用的Linux系統之一,由於圖形支援良好和開發工具支援良好,程式設計師更是偏好ubuntu系列系統。最近幫朋友公司處理問題,用虛擬機器做Ubuntu測試環境,發現Ubuntu的預設安全等級和遠端工具都沒有進行設定。下面呢我們就進行安裝ssh服務,然後開啟root權限(不推薦) |
#
系統環境
我們的系統採用的是虛擬機器 vmware workstations 12版本 Ubuntu17.04 進行實驗:

安裝ssh服務
檢查網路的連結性

#升級安裝來源(第一次使用必須的)

#安裝ssh服務


##啟動ssh服務

#檢查ssh服務啟動狀態


#設定ssh服務開機啟動
嘗試使用chkconfig設定ssh開機啟動



##systemctl 設定ssh服務開機啟動
##修改ssh設定文件,開啟root使用者登入
#查看IP嘗試遠端登入

#ok,一般使用者登入成功。我們嘗試切換到root。
切換到普通用戶

##修改root的密碼

########
嘗試用root使用者登入系統

#修改ssh的設定文件,啟用root登入


##使用root使用者進行root登入

#
本文原始地址:https://www.linuxprobe.com/ubuntu-start-sshd.html作者:陶武傑,審核員:逄增寶
本文原創網址:https://www.linuxprobe.com/ubuntu-start-sshd.html編輯:public,審核員:暫無
為您推薦一些與本文相關的文章:
##俄羅斯軍方的GNU/Linux 發行版:Astra Linux- FreeBSD 11.3正式發布
- 如何在Linux 命令列中觀看彩虹貓
- 《雲端原生Java:Spring Boot、Spring Cloud與Cloud Foundry彈性系統設計》pdf電子書免費下載
- 《圖解TCP/IP》 pdf電子書免費下載
- Bitwarden 正式收購開源新創公司Passwordless.dev
- zabbix再爆高危險SQL注入漏洞,可獲系統權限
- Node.js:輕鬆開發Web應用的神器,快速安裝教學解密
- IMAX即將推出IMAX Enhanced認證
- 《電腦圖形學第4版》pdf電子書免費下載
-
以上是設定 Ubuntu 系統的遠端存取的詳細內容。更多資訊請關注PHP中文網其他相關文章!