Background
The purpose is to edit the intranet server code locally
However, the springboard machine of the company’s server needs to log in with a key. In addition, there is a dynamic password + personal password. It has not been configured directly with vscode
The termius implementation is borrowed here
How to Solve:
-
- ensure that termius has logged in to the intranet server through the key dynamic password. Use the port forwarding function provided by termius to connect the local XX port to the YY port of the intranet server. Note that the intranet server port here depends on the personal opening. Configure the local ~ /. SSH/config file. For example, the content is as follows
Host local
HostName 127.0.0.1
Port xx port
User Your own username for logging into the server
-
-
- put a copy of the public key given to you by the company in ~ /.SSH/ and pay attention to these key permissions. Generally, the key is only open to individuals, otherwise an error is reported. For example, permission denied (public key), Chmod 600 ~ /.SSH/* can be executed to change the key files of local and remote servers to only allow individuals to read and write, and the file can be modified locally directly through vscode connection.
-
Read More:
- [Local Precompilation Error] do not set execute permissions for source files
- Android 10 open file exception open failed: eacces (permission denied) android:requestLegacyExternalStorage= “true“
- Support for password authentication was removed on August 13, 2021
- [Solved] Jenkins-ERROR: Error cloning remote repo ‘origin‘
- [Solved] Git push Error: remote: Support for password authentication was removed on August 13, 2021.
- VSCode Unable to find custom header file directory: fatal error: no such file or directory
- vscode git error: would clobber existing tag [How to Solve]
- [Solved] CXF Call webservice Client Error: 2 counts of InaccessibleWSDLException
- [Solved] JMeter Server Command line pressure measurement: Error in NonGUIDriver java.lang.IllegalArgumentException
- [Solved] Vscode Connect SSH Error: Error Running the contributed command ‘_workbench.downloadResource
- [Solved] Mybatis Error: CannotFindDataSourceException: dynamic-datasource can not find primary datasource
- Git push Submit to Remote Error: “remote: Support for password authentication was removed on August 13, 2021.“
- Error running ‘Android Debugger (-1)‘ [How to Solve]
- [Solved] Initialization error encountered by JUnit unit test: Method initialization error not found
- VScode jsconfig.json files First Line error for no reasons
- Connection refused: connect; nested exception is java.net.ConnectException: Connection refused: [How to Solve]
- Flask Startup Error: s.bind(server_address)PermissionError: [Errno 13] Permission denied
- [Solved] error when starting dev server:Error: listen EACCES: permission denied 0.0.0.0:80 at Server.set
- Git pull code error fatal: authentication failed fo
- Rsync Error: Operation not permitted [How to Solve]