Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

类似于xftp实现跨服务器传输文件 #118

Closed
xingchen-FL opened this issue Jun 3, 2024 · 3 comments
Closed

类似于xftp实现跨服务器传输文件 #118

xingchen-FL opened this issue Jun 3, 2024 · 3 comments

Comments

@xingchen-FL
Copy link

xingchen-FL commented Jun 3, 2024

有两台服务器,有网络隔离,互相无法访问,在上传文件时,这个可以用tssh实现吗
xftp拖拽文件上传

@lonnywong
Copy link
Member

先从 A 下载到本地,再从本地上传到 B ?

@xingchen-FL
Copy link
Author

xingchen-FL commented Jun 3, 2024

先从 A 下载到本地,再从本地上传到 B ?

是这个逻辑,上传到B后,再把本地文件删掉,有没有方法一步完成

@lonnywong
Copy link
Member

没想到太好的办法。可以试试在本机启用 LocalForward 登录 A,本机启用 RemoteForward 登录 B,打通后在 B 直接登录 A,然后用 scp 之类直接复制文件。tssh 暂不支持在没有界面的服务器上选文件。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants