Commit eac31b2b authored by nimrod's avatar nimrod
Browse files

- Use SSH's builtin port forwarding on stdin instead of relying on netcat.

parent ab69ba85
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@ User nimrod
ForwardX11 yes
IdentityFile ~/.ssh/shore_ecdsa
IdentityFile ~/.ssh/shore_rsa
ProxyCommand ssh ns1.shore.co.il nc %h %p
ProxyCommand ssh ns1.shore.co.il -W %h:%p

Host ns2.shore.co.il
HostName ns2.shore.co.il
@@ -25,7 +25,7 @@ IdentityFile ~/.ssh/shore_rsa

Host cgit.shore.co.il
HostName cgit.shore.co.il
ProxyCommand ssh ns1.shore.co.il nc %h %p
ProxyCommand ssh ns1.shore.co.il -W %h:%p
User nimrod
IdentityFile ~/.ssh/shore_ecdsa
IdentityFile ~/.ssh/shore_rsa
@@ -40,14 +40,14 @@ DynamicForward 8081
Host host01.shore.co.il
HostName host01.shore.co.il
User nimrod
ProxyCommand ssh ns1.shore.co.il nc %h %p
ProxyCommand ssh ns1.shore.co.il -W %h:%p
IdentityFile ~/.ssh/shore_ecdsa
IdentityFile ~/.ssh/shore_rsa

Host wdr4300.shore.co.il
HostName wdr4300.shore.co.il
User root
ProxyCommand ssh ns1.shore.co.il nc %h %p
ProxyCommand ssh ns1.shore.co.il -W %h:%p
IdentityFile ~/.ssh/shore_ecdsa
IdentityFile ~/.ssh/shore_rsa
LocalForward 8082 localhost:80