1. Install VSCODE and plug-ins
- VSCODE can be downloaded directly from the official website
https://code.visualstudio.com/
Search Remote-SSH in the Vscode app store and install it.
2. SSH to connect to the ubuntu system
eg: ssh [email protected] or directly enter the IP address 192.168.31.75
. 3. Select the SSH configuration file, you can directly choose to click the first C .ssh folder in the Users directory of the disk
4. Connect to the host, use the shortcut keys ctrl+shift+p to enter Remote-SSH, select Remote-SSH: Connect to host and enter the ubuntu SSH ip address, which is the 192.168.31.75 just added or use method 4.1 , and then press the Enter key to reopen a VScode page asking for a password and connection.
5. Enter the ubuntu SSH connection password and click Enter to connect.