Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/ssh/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用SSH通过Windows中的公司SOCKS5代理连接到服务器_Windows_Ssh_Proxy_Git Bash - Fatal编程技术网

使用SSH通过Windows中的公司SOCKS5代理连接到服务器

使用SSH通过Windows中的公司SOCKS5代理连接到服务器,windows,ssh,proxy,git-bash,Windows,Ssh,Proxy,Git Bash,我正在使用Windows 10。 我可以使用Putty的代理部分,使用具有指定端口的socks5代理服务器连接到外部服务器。 我希望能够使用gitbash通过ssh命令以这种方式连接。 (我没有访问nclinux命令的权限。) 是否有可以添加的命令行参数或要添加到~/.ssh/config文件的属性?是。您应该能够在~/.ssh/config中的ProxyCommand中指定。您应该能够在~/.ssh/config中的ProxyCommand中指定。

我正在使用Windows 10。
我可以使用Putty的代理部分,使用具有指定端口的socks5代理服务器连接到外部服务器。
我希望能够使用gitbash通过
ssh
命令以这种方式连接。
(我没有访问
nc
linux命令的权限。)


是否有可以添加的命令行参数或要添加到
~/.ssh/config
文件的属性?

是。您应该能够在
~/.ssh/config
中的
ProxyCommand
中指定。您应该能够在
~/.ssh/config
中的
ProxyCommand
中指定。