问题原文
原帖链接 · Prashanth · CC BY-SA 3.0
I have configured a putty session to login into a server (server A) and make an ssh connection to another server (server B) automatically by adding a remote command in putty (ssh server B) for the putty session to login into server A. This works fine. now I want to access a service running on port 8443 from the browser on my local host. I have tried to create a ssh tunnel in putty using source port as 8443 ad destination as 8443:localhost:8443 but it doesn't work. Please help!!
已采纳解答
原帖链接 · ThoriumBR · CC BY-SA 3.0
On ServerA you have to create a tunnel to ServerB, or it will not work. The remote command on ServerA must be something like this:
ssh -L:8443:ServerB:8443
Later you create the tunnel on PuTTY, using 8443 as the source, and localhost:8443 as the destination.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
