If you are going to use the tunnel to connect with PuTTY to another server, you can actually set up the tunnel as a part of the session settings with use of plink as a proxy, see: PuTTY configuration equivalent to OpenSSH Prox圜ommand. See also the PuTTY wish no-terminal-window. The -N translates to the option "Don't start a shell or command at all".īut it probably does not make sense with a GUI client to enable it, as you get a window anyway, you just cannot do anything with it. If you have any problems, use the PuTTY event log to investigate: So it's actually, what you claim to have tried. With the PuTTY, the -L 2000:SomeIp:2000 translates to: With the -m switch you can include a command file: plink.exe -ssh host1 -m C:\path\to\commands.txt You can download plink.exe from here. plink.exe -N -L 2000:SomeIp:2000 Using the command-line connection tool Plink 7 Answers Sorted by: 15 Use the commandline PuTTY version plink.exe to initate a SSH connection to a host of choice. With the plink.exe, you use the same arguments as with the OpenSSH ssh, except for the -f, which does not have an equivalent in Windows. With the PuTTY suite, you can set up a tunnel either using the PuTTY itself (GUI) or using the command-line tool plink.exe.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |