0
代理列表我通过添加以下到我的ssh配置是SSH到所有的服务器通过代理排除test.com在SSH配置文件
Host *
ProxyCommand nc -x 'someProxy.com' %h %p
,如何排除test.com
从它。
代理列表我通过添加以下到我的ssh配置是SSH到所有的服务器通过代理排除test.com在SSH配置文件
Host *
ProxyCommand nc -x 'someProxy.com' %h %p
,如何排除test.com
从它。
可以使用match命令和否定运算符:
Match Host *,!test.com
ProxyCommand nc -x 'someProxy.com' %h %p
来源:http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man5/ssh_config.5