Tag Archives | AutoSSH

How to connect Mysql server through SSH tunnel using AutoSSH

Read this tutorial first: How to create SSH tunnel on Windows by using AutoSSH In step 8, we use the command like: Now, all traffic on local port 1081 will be forwarded to the SSH server on port 3306 (port MYSQL service). The PHP code for test: Result:

Read full story Comments { 1 }

How to create SSH tunnel on Windows by using AutoSSH

How to create SSH tunnel on Windows by using AutoSSH Step 1: download Cygwin Step 2: Install Cygwin Step 3: Open Cygwin terminal Follow step 1,2,3 in this tutorial: How to install SSH daemon on Windows Step 4: Generate a public/private key pair Use this commandline: Use empty passphrase: Step 5: Copy your newly-created public […]

Read full story Comments { 1 }

How to install SSH daemon on Windows

Step 1: download Cygwin at http://www.cygwin.com/ For Windows 32bits: http://www.cygwin.com/setup-x86.exe For Windows 64bits: http://www.cygwin.com/setup-x86_64.exe Step 2: Install Cygwin Find AutoSSH, OpenSSH OpenSSL Zip Unzip Step 3: Open Cygwin terminal To verify if Cygwin (cygrunsrv) is installed properly, run the following command: If you see the screen like It means you install Cygwin successfully!! Otherwise, you […]

Read full story Comments { 3 }