3 ms·
I don't feel like this tool adds a whole lot, though an A for effort. # ~/.ssh/config Host bastion User user Port 2222 Hostname my.host.com A
by alexktz 10y ago
I don't feel like this tool adds a whole lot, though an A for effort.
# ~/.ssh/config
Host bastion
User user
Port 2222
Hostname my.host.com
And then as a bash alias in `.bashrc`:
# ~/.bashrc
alias stun='sshuttle --dns --daemon --pidfile=/tmp/sshuttle.pid -r bastion 0/0'
alias stunx='[[ -f /tmp/sshuttle.pid ]] && kill $(cat /tmp/sshuttle.pid)'
Works on OSX and Linux.