![]() Plink Non-Interactive SSH Session to execute a Remote Command On a related note, even if you’ve been using PuTTY for a while, you might find few tips from here helpful: 10 Awesome PuTTY Tips and Tricks You Probably Didn’t Know 3. 2 root root 4096 May 8 12:41 ~]#Īgain, for interactive SSH session, please use PuTTY. But, doing anything here will display some non user-friendly characters. C:\>plink -load devdbĪs you see below, once you login, you’ll get a command-prompt. The following -load is exactly the same as above. 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. 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |