Corkscrew
Contents of ~/.ssh/config.corkscrew:
ProxyCommand /usr/local/bin/corkscrew 10.1.1.20 80 %h %p
Contents of /usr/local/bin/home shell script:
#!/bin/sh cp ~/.ssh/config.corkscrew ~/.ssh/config chmod 600 ~/.ssh/config ssh -p443 -L5900:127.0.0.1:5900 xxx@xxx.xxx rm ~/.ssh/config
Corkscrew can be obtained at: