Successfully solved the problem that the remote connection of vscode has been failing

When using vscode to connect to the server today, an error has been reported:
insert image description here

There is no corresponding solution on the Internet, and I can't figure it out. Later, I checked the config file of ssh and found the crux of the problem:

ost lml_address
	HostName 10.176.xx.xx.
	Port 10001
	User root

should be

Host lml_address # 应该是 Host!!! 
	HostName 10.176.xx.xx.
	Port 10001
	User root

The most basic keyword is wrong! ! ! details make a difference……

Guess you like

Origin blog.csdn.net/qq_36332660/article/details/131190930