Skip to content
Snippets Groups Projects
Commit 6a3dcef9 authored by nimrod's avatar nimrod
Browse files

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

parent c0ca37b0
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment