

This is the recommended way of using, as you can bring all the configuration information from PuTTY to here for this particular “devdb” session. In this example, I’m using the existing saved putty session called “devdb”. You can also use the name of an existing putty session. You can also pass the username using -l option as shown below: C:\>plink 192.168.101.1 -l mysql This will ask only for the password, as we’ve specified the username. Or, you can also use the username using symbol as shown below.
#Putty ssh auto login password#
This will then ask for the username and password to login. Use putty for interactive session.įor now, let us see various methods to use the connection.įirst, you can just give the ip-address of the remote-server. As explained earlier, plink is not meant to be used as interactive session. While the command is optional, when you don’t give it, it will display a raw interactive session, which will have lot of non-printable non-readable character on the screen.

Next, type plink in the command prompt, this will display the various options available. In the following example, I’ve downloaded the plink.exe to C:\Downloads directory. Or, you can just set your PATH variable as shown below. Go to your “System properties” windows, click on “Environment Variables”, select Path variable, and append the directory where the plink.exe is located here.

#Putty ssh auto login windows#
Since this is a command-line only utility (Without GUI), you should first launch your Windows command prompt.įor this, click on start menu on your windows, and type “cmd.exe” in the search box and press enter, this will launch the Windows command prompt.Īlso, depending on where you have downloaded the plink.exe, you may have to modify the Windows’s PATH variable accordingly. You can’t just double-click on plink.exe to launch it.
#Putty ssh auto login download#
If you have a 32-bit Windows laptop, make sure you download the 32-bit version of plink. If you don’t have PuTTY already installed on your machine, make sure you also download putty executable along with plink.
