Question:
Is it possible to use remote port forwarding (tunneling) without having to
login on the console?

Situation:
I have a server (PC1) which is running a SSH service behind a firewall. I do
NOT have any control over the firewall, but I do want to access the SSH
service of PC1 from PC2 over the Internet.

Solution for the situation:
I'm using the following command on PC1 to let PC1 make a SSH-tunnel to PC2
ssh -R 4000:localhost:22 [EMAIL PROTECTED]
And I have installed a SSH service on PC2 to make tunneling possible.

Same question in detail:
When I use the command above, it will make the tunnel, but I will also make
PC1 login on the console of PC2. That last step is something I do not want.
PC1 should only make the tunnel to PC2, but should NOT login on the console
of PC2.
Is this possible?


-Jesse

Reply via email to