[GH-ISSUE #3732] How to use vscode to connect to remote server? #2970

Closed
opened 2026-05-05 13:55:03 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @Nutingnon on GitHub (Oct 30, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3732

Bug Description

As the instruction on 多个 SSH 服务复用同一端口. I successfully use terminal to connect my client machine. However, it took me a whole day to figure out how to connect my client machine on vscode.

What should I do?

frpc Version

the newest

frps Version

the newest

System Architecture

linux/amd64

Configurations

same as the 多个 SSH 服务复用同一端口 website

Logs

No response

Steps to reproduce

...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @Nutingnon on GitHub (Oct 30, 2023). Original GitHub issue: https://github.com/fatedier/frp/issues/3732 ### Bug Description As the instruction on [多个 SSH 服务复用同一端口](https://gofrp.org/zh-cn/docs/examples/multiple-ssh-over-same-port/). I successfully use terminal to connect my client machine. However, it took me a whole day to figure out how to connect my client machine on vscode. What should I do? ### frpc Version the newest ### frps Version the newest ### System Architecture linux/amd64 ### Configurations same as the 多个 SSH 服务复用同一端口 website ### Logs _No response_ ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 13:55:03 -06:00
Author
Owner

@anselanza commented on GitHub (Nov 1, 2023):

I got this to work.

Go to Remote-SSH: Add New Host..

Then add the full SSH command including the relevant port, e.g.

ssh -p 6000 destinationUsername@server.domain

Use ssh-id-copy to make the process even smoother (no prompt for password).

<!-- gh-comment-id:1789073141 --> @anselanza commented on GitHub (Nov 1, 2023): I got this to work. Go to `Remote-SSH: Add New Host..` Then add the full SSH command including the relevant port, e.g. ``` ssh -p 6000 destinationUsername@server.domain ``` Use `ssh-id-copy` to make the process even smoother (no prompt for password).
Author
Owner

@github-actions[bot] commented on GitHub (Dec 2, 2023):

Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

<!-- gh-comment-id:1836958941 --> @github-actions[bot] commented on GitHub (Dec 2, 2023): Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#2970
No description provided.