①windows下cmd中执行命令:
ssh-keygen -t rsa -C "xxx@xxx.com"
②ubuntu 下bash 命令
ssh-keygen -t rsa -C "xxx@xxx.com"
③cat id_rsa.pub >> ~/.ssh/authorized_keys
④
C:\Users\Administrator\AppData\Roaming\Code\User\settings.json
编辑更改为
{
? ? "editor.fontSize": 18,
? ? "cmake.configureOnOpen": true,
? ? "explorer.confirmDelete": true,
? ? "remote.SSH.useLocalServer": true,
? ? "remote.SSH.useExecServer": true,
? ? "remote.SSH.showLoginTerminal": true
}