worssh script for doing ssh "vpn" via a tunnel.

This commit is contained in:
Darth Joulupukki 2016-10-23 13:06:23 +03:00
parent 4b5fd8adf2
commit 2aea10e23d

3
worssh Executable file
View file

@ -0,0 +1,3 @@
#!/bin/zsh
ssh -D 9944 -o "ProxyCommand /usr/bin/nc -X 5 -x 127.0.0.1:9000 %h %p" -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no "${@}"