linux下shell脚本用sftp传文件,但是要通过代理服务器出去。怎么配置 30
我使用:sftp-oProxyCommand='nc-v-x12.99.111.11:8080%h%p'nbc@42.156.1.18816报错:Connectingto...
我使用:sftp -oProxyCommand='nc -v -x12.99.111.11:8080 %h %p' nbc@42.156.1.1 8816
报错:
Connecting to 42.156.1.1...
nc: invalid option --'1'
Try 'nc --help' for more information.
ssh_exchange_indentification:Connection closed by remote host
Couldn't read packet: Connection reset by peer 展开
报错:
Connecting to 42.156.1.1...
nc: invalid option --'1'
Try 'nc --help' for more information.
ssh_exchange_indentification:Connection closed by remote host
Couldn't read packet: Connection reset by peer 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |