vscode SSH config

1
2
3
4
Host [配置名]
HostName [目标地址]
User [用户名]
IdentityFile [证书登录私钥]

服务器端ssh设置:https://www.runoob.com/w3cnote/set-ssh-login-key.html

简单说就是到etc/ssh/sshd_config里开了

1
2
RSAAuthentication yes
PubkeyAuthentication yes

然后往/ssh/suthorized_keys里加公钥

各种转发机制
https://www.cnblogs.com/zangfans/p/8848279.html

跳板机
https://cikeblog.com/proxycommand.html

文章目录
|