How do I port forward via an SSH tunnel with WinSCP?
I have webpages that I'm editing on the server, and I'm trying to test the links in those pages. But WinSCP brings up a local copy of the file, so the links obviously don't work.
I can
But I don't see a way to automatically add this port forwarding or to otherwise set it so that I can just work.
I did see that I can synchronize my local folder with a server folder and then keep that up to date, so that I can work on my machine and then have changes mirrored over to the server, but I'd just like to make a quick change and don't want to synchronize everything in the folder.
Any suggestions?
I can
Ctrl+P
to bring up PuTTY (and my username/password are passed so it just logs right in) then open up PuTTY's settings and add (Connections > SSH > Tunnels) port forwarding, then use my browser (http://localhost/~me
) to browse the public_html
folder and directly test the links I just added to the pages.
But I don't see a way to automatically add this port forwarding or to otherwise set it so that I can just work.
I did see that I can synchronize my local folder with a server folder and then keep that up to date, so that I can work on my machine and then have changes mirrored over to the server, but I'd just like to make a quick change and don't want to synchronize everything in the folder.
Any suggestions?