Monthly Archives: July 2013

Creating persistent SSH tunnels in Windows using autossh

Download Cygwin (http://www.cygwin.com/) Install Cygwin, selecting the autossh package. Start the Cygwin shell (Start -> Programs -> Cygwin). Generate a public/private key pair. At the command line, run: ssh-keygen Accept the default file locations Use an empty passphrase Copy your newly-created public key to the SSH server. scp .ssh/id_rsa.pub user@ssh.host.name:id_rsa.pub Add your public key to […]