banner
NEWS LETTER

Vscode配置特殊SSH协议

Scroll down

本文作者:丁辉

Vscode配置特殊SSH协议

连接过老版本的服务器时,有些服务器SSH会报错,解决方法如下

打开 vscode ssh 配置文件

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
## START GITPOD INTEGRATION
## This section is managed by Gitpod. Any manual changes will be lost.
Include "gitpod/config"
## END GITPOD INTEGRATION

#普通
Host 192.168.1.1
HostName 192.168.1.1
User root

#带端口
Host 192.168.1.2
HostName 192.168.1.2
Port 22
User root

#特殊协议
Host 192.168.1.3
HostName 192.168.1.3
User root
Host *
KexAlgorithms +diffie-hellman-group-exchange-sha1
HostKeyAlgorithms +ssh-rsa
ProxyCommand nc -X connect -x 127.0.0.1:15732 %h %p

I'm so cute. Please give me money.

其他文章
cover
Mac安装终端工具
  • 70/01/01
  • 00:00
  • 系统-MacBook
cover
MYSQL操作命令
  • 70/01/01
  • 00:00
  • Linux-数据库
目录导航 置顶
  1. 1. Vscode配置特殊SSH协议
请输入关键词进行搜索