Vscode tool Remote-SSH usage record

1. Use background

Sometimes when developing the linux platform, there is no desktop terminal. Generally, we need to write the code on the win platform and then pass it in. This is not very convenient if we need to modify the code frequently. Later, it is found that someone uses this vscode tool. It is still very good , can be configured directly on vscode, which is equivalent to a very good terminal.

The plug-ins are as follows, and the search in the plug-in market is as follows:
insert image description here

2. Configuration instructions

If you want to use this, you need to configure ssh in advance. I won’t talk about this. If you have done linux before, you should have some understanding, and you should have configured it a long time ago.

After configuring the plug-in, there will be such a column, which is the column of this tool:
insert image description here
click Add window: after
insert image description here
entering the template below
insert image description here
, a configuration file will be displayed, and the configuration file does not need to be modified. The Host in it is a name, You can modify it arbitrarily, of course, you don’t need to modify
insert image description here
it. You can directly connect to the ssh remote connection below.
insert image description here
You need to enter the password to enter.
insert image description here
After entering, you can see the terminal console.
insert image description here
You can directly view the files under the linux system.
insert image description here
Select the folder to edit.
insert image description here

Guess you like

Origin blog.csdn.net/m0_51220742/article/details/126495504