==== Trust host key without /dev/tty ==== ssh -o StrictHostKeyChecking=no @ ==== SSHGuard ==== iptables -A INPUT -m multiport -p tcp --destination-ports 22 -j sshguard iptables-save > /etc/iptables/iptables.rules ==== SSH Tunnel ==== === Create New Tunnel Account === adduser --shell /usr/sbin/nologin --no-create-home --ingroup sshusers You may need to run the following command at first time. addgroup sshusers === Open Local Socks Proxy === ssh @ -N -D 7070 -v === Open Local Socks Proxy (The Plink Way) === plink -N -ssh -2 -P 22 -l -C -D 7070 -v -pw References: * http://stackoverflow.com/a/15007556/646735