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:
- [Solved] error when starting dev server:Error: listen EACCES: permission denied 0.0.0.0:80 at Server.set
- [Solved] Gitee generates public key error: Enter file in which to save the key…
- [Solved] Docker Error: got permission denied while trying to connect to the docker daemon socket at…
- [Solved] Zabbix-server startup error: cannot start alert manager service: Cannot bind socket to “/var/run/zabbix/zabbix_server_alerter.sock”: [13] Permission denied.
- Flask Startup Error: s.bind(server_address)PermissionError: [Errno 13] Permission denied
- [Solved] PostgreSQL Remote Access Error: could not connect to server
- [Solved] Gerrit Error: Permission denied publickey
- [Solved] Use the truss console to connect to the public blockchain network error: mnemonic invalid or undefined
- How to Solve Vue Error: EACCES: permission denied
- How to Solve Error: cannot open .Git/fetch_HEAD: Permission denied
- ./get_datasets.sh Error: permission denied [How to Solve]
- [Solved] failed (13: Permission denied) while reading upstream
- [Solved] Docker Error: bad interpreter: Permission denied
- [Solved] Docker startup container error: permission denied””: unknown.
- Run-time error “70“:Permission denied [How to Solve]
- socket java.net.BindException: bind failed: EACCES (Permission denied)
- Android 10 open file exception open failed: eacces (permission denied) android:requestLegacyExternalStorage= “true“
- ERROR: Permission to .git denied to. [How to Solve]
- [Solved] Vscode connect virtual machine error: can’t be established
- Git push Submit to Remote Error: “remote: Support for password authentication was removed on August 13, 2021.“