![]() 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. Set up a reverse SSH tunnel from Windows Connection->Data, enter the tunnel username: sshtunnel Connection->SSH, check Dont start a shell or command at all. 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. 11 Answers Sorted by: 111 if you only want to list tunnels created by ssh: sudo lsof -i -n egrep '\' ssh 19749 user 3u IPv4 148088244 TCP x.x.x.x:39689->y.y.y.y:22 (ESTABLISHED) ssh 19749 user 4u IPv6 148088282 TCP ::1:9090 (LISTEN) ssh 19749 user 5u IPv4 148088283 TCP 127.0.0.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: plink.exe -N -L 2000:SomeIp:2000 Using the command-line connection tool Plink If it detects an SSH request to that port, it relays that connection request back to itself, down the established connection. plink. ![]() On PCA I execute this: plink.exe -R 12345:localhost:22 rootPCB. I want to access files on PCA from any PCC. PCB is Debian server with public IP and with OpenSSH. ![]() To set up SSH tunneling, download and launch PuTTY.exe. Heres the setup: Windows 7 PC in a private network, sitting behind a firewall. Procedure Locate the certificate file for your client-side bastion host. Now, Im trying to do the same, using the same machines, but in reverse order. The remote computer listens on a network port on the local computer. PCA is behind NAT/Firewall, it runs Windows. 10 I asked previously how to configure 2 SSH tunnels using an intermediary server in order to run Remote Desktop through them and I managed to make it work. 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. Reverse SSH tunneling relies on the remote computer using the established connection to listen for new connection requests from the local computer. 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 |