alist-org / alist

🗂️A file list/WebDAV program that supports multiple storages, powered by Gin and Solidjs. / 一个支持多存储的文件列表/WebDAV程序,使用 Gin 和 Solidjs。
https://alist.nn.ci
GNU Affero General Public License v3.0
42.55k stars 5.5k forks source link

Is it possible to add support for ssh config file/ssh proxycommand? #2487

Closed CoREse closed 1 year ago

CoREse commented 1 year ago

Please make sure of the following things

Description of the feature / 需求描述

There are often some circumstances that your sftp drive could not be directly accessed, when you will need proxy to access them rather than directly connect a ssh url. In the meantime, ssh it self provides a mature way to solve this problem using proxycommand in parameters or in ssh config files. So is it possible to add proxy support(socks5, http, as mentioned in this issue) for sftp or other drivers? Whether implement it from scratch or simply call local ssh client to do that. Thanks.

Suggested solution / 实现思路

Implement a socks5 proxy for drivers or add a drive for directly call local ssh to do sftp communication.

Additional context / 附件

No response

welcome[bot] commented 1 year ago

Thanks for opening your first issue here! Be sure to follow the issue template!

github-actions[bot] commented 1 year ago

Hello, this issue has been inactive for more than 30 days and will be closed if inactive for another 30 days.

github-actions[bot] commented 1 year ago

Hello @, this issue was closed due to inactive more than 60 days. You can reopen or recreate it if you think it should continue.