Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
需要将 java war 文件 pscp 到 aws。但是,我们无法做到这一点,因为连接需要代理,并且没有选项可以将代理与 pscp 命令一起传递。我们尝试在 cmd 上显式设置 http_proxy。仍然,它没有工作。有没有人找到任何解决方案?
我通过使用-load选项加载放置代理的腻子配置来解决它。
-load
例子: pscp -load "my aws" test.txt 172.93.184.11:/work/
pscp -load "my aws" test.txt 172.93.184.11:/work/