[GH-ISSUE #2573] frp好像不能使用scp传输文件? #2047

Closed
opened 2026-05-05 13:19:17 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @pjx1990 on GitHub (Sep 13, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2573

Describe the feature request

frp好像不能使用scp传输文件?

Describe alternatives you've considered

No response

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @pjx1990 on GitHub (Sep 13, 2021). Original GitHub issue: https://github.com/fatedier/frp/issues/2573 ### Describe the feature request frp好像不能使用scp传输文件? ### Describe alternatives you've considered _No response_ ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [X] Extensions - [ ] Others
gitea-mirror 2026-05-05 13:19:17 -06:00
Author
Owner

@maxadc commented on GitHub (Sep 15, 2021):

scp好像是用的ftp协议吧,ftp协议需要单独开端口传输数据,而且是TMD随机的。如果你真要scp或者ftp通过frp传输,也不是不行,就是非常麻烦,一、在服务器上安装代理软件,比如gost,二、frp使用内网穿透模式,三、在frp访问者的终端上安装Proxifier,四、使用Proxifier把所有访问被访问机器的域名或代理全部转发到frp的端口上

<!-- gh-comment-id:919775867 --> @maxadc commented on GitHub (Sep 15, 2021): scp好像是用的ftp协议吧,ftp协议需要单独开端口传输数据,而且是TMD随机的。如果你真要scp或者ftp通过frp传输,也不是不行,就是非常麻烦,一、在服务器上安装代理软件,比如gost,二、frp使用内网穿透模式,三、在frp访问者的终端上安装Proxifier,四、使用Proxifier把所有访问被访问机器的域名或代理全部转发到frp的端口上
Author
Owner

@maxadc commented on GitHub (Sep 15, 2021):

嗯 还漏了 一二之间需要frp连接到gost之内的代理端口上

<!-- gh-comment-id:919875983 --> @maxadc commented on GitHub (Sep 15, 2021): 嗯 还漏了 一二之间需要frp连接到gost之内的代理端口上
Author
Owner

@rampageX commented on GitHub (Sep 15, 2021):

@maxadc 别张口就来,SCP 和 FTP 一点关系都没有。

@pjx1990 frp 用 tcp 映射 ssh 端口,scp 没问题。

<!-- gh-comment-id:919929753 --> @rampageX commented on GitHub (Sep 15, 2021): @maxadc 别张口就来,SCP 和 FTP 一点关系都没有。 @pjx1990 frp 用 tcp 映射 ssh 端口,scp 没问题。
Author
Owner

@github-actions[bot] commented on GitHub (Oct 16, 2021):

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

<!-- gh-comment-id:944825680 --> @github-actions[bot] commented on GitHub (Oct 16, 2021): 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#2047
No description provided.