Sublime Text 3 sftp 插件代理设置 [英] Sublime Text 3 sftp plugin proxy setting

查看:130
本文介绍了Sublime Text 3 sftp 插件代理设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经为 Sublime Text 3 安装了 sftp 插件.

I've installed sftp plugin for Sublime Text 3.

是否可以使用代理配置 sftp?

Is it possible to configure sftp with proxy?

我正在寻找任何代理设置.

I am looking for any proxy settings.

有人知道吗?

推荐答案

sftp_flags 中使用 ProxyCommand.

这样的事情对我有用:

// Destination server info
"host": "dest.example.com",
"user": "foo",

// Proxy server info
"sftp_flags": [
    "-o",
    "ProxyCommand ssh foo@proxy.example.com -i ~/.ssh/bar.pem -W %h:%p"
]

这篇关于Sublime Text 3 sftp 插件代理设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆