安裝插件 remote-ssh
remote-ssh.png
遠端資源管理
remote.png
config.png
配置處理
每次打開跷跪,輸入密碼還是很麻煩的万俗,有沒有一種方式可以直接登錄呢康二?可以利用rsa嫡纠。
生成rsa
windows:
利用powershell 或者git bash
ssh-keygen
配置 config 添加 IdentityFile
IdentityFile.png
服務(wù)器端配置
對于linux系統(tǒng)在/root/.ssh/目錄下懒叛, 如果沒有 authorized_keys 則需要新建authorized_keys丸冕, 將公鑰中的內(nèi)容復制進去