Comment posted Creating Dynamic SSH Tunnel on Windows with Plink – Scriptable SSH Tunnels on Windows by .
Recent comments by
If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
Hey long time now see, thanks for dropping back again! 🙂
Previoust Post:
Next Post:
Tags: cmd line, Happy, How to, hp, Internet Relay Chat, make, proxy server, script, ssh command, Using Username, Windows, windows user
This entry was posted
on Saturday, April 20th, 2024 at 12:57 pm and is filed under Computer Security, Everyday Life, Networking, System Administration, Various, Windows.
You can follow any responses to this entry through the RSS 2.0 feed.
Both comments and pings are currently closed.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:30.0) Gecko/20100101 Firefox/30.0
If you want to make sure your SSH Tunnel is always active and respawned if it dies you can create a Neverending Batch Loop and start it as a Windows service.
View CommentView CommentMozilla/5.0 (Windows NT 6.1; WOW64; rv:30.0) Gecko/20100101 Firefox/30.0
Hi, the scenario you depicted can work trough a proxy that requires authentication? This is the situation:
View CommentView CommentMy work pc (windows 7) connects to the internet through a proxy server that requires a username/password and i would like to RDP into it from my home pc but i can’t modify proxy configuration so i was thinking that making an ssh tunnel (reverse tunnel really) could work to reach my goal.
Do you think your example can be adapted to my scenario?
If not do you know of any product i can use?
Thanks in advance
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:30.0) Gecko/20100101 Firefox/30.0
Hi Doppiamunnezza,
If you have already running SSH server (Linux host) and this host could connect to your Windows remote desktop port (3389) you can use plink to forward SSH tunnelled traffic via the Linux host like so:
plink.exe -P 22 -L 13389:windows-rdp-host.com:3389 server-username@remote-linux-server.com –
pw secretpassword -N -C
SSH tunnel will be be available via localhost:13389. From windows command line to connect with
Remote Desktop Client:
mstsc.exe -v localhost:13389
Note that connection will be a bit slow but this depends also on your internet connection between linux-server and windows host and yourself within the net where you’re.
To do the same SSH Tunnel to foward traffic via 13389 (if you’re using a Linux desktop) issue:
ssh -p 22 -L 13389:rdp.hec.bg:3389 hipo@pc-freak.net -v
Hope this helps
View CommentView CommentMozilla/5.0 (Windows NT 6.1; WOW64; rv:30.0) Gecko/20100101 Firefox/30.0
Hi, thanks for your answer but i’m not really sure i’ve understood …
View CommentView CommentIn your hypothesis the linux box (SSH Server) is in the same lan with the windows box i want to rdp into ??
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20120101 Firefox/33.0
your formatting blog, and content, are shit!
View CommentView Comment