Re: SSH Tunneling without console login
From: Jesse ("do)
Date: 11/24/05
- Previous message: Richard E. Silverman: "Re: SSH Tunneling without console login"
- In reply to: Richard E. Silverman: "Re: SSH Tunneling without console login"
- Next in thread: Richard E. Silverman: "Re: SSH Tunneling without console login"
- Reply: Richard E. Silverman: "Re: SSH Tunneling without console login"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 24 Nov 2005 22:16:02 +0100
Richard E. Silverman wrote:
>>>>>>"Jesse" == Jesse <"do not spam"> writes:
>
>
> Jesse> Question: Is it possible to use remote port forwarding
> Jesse> (tunneling) without having to login on the console?
>
> Jesse> Situation: I have a server (PC1) which is running a SSH service
> Jesse> behind a firewall. I do NOT have any control over the firewall,
> Jesse> but I do want to access the SSH service of PC1 from PC2 over
> Jesse> the Internet.
>
> Jesse> Solution for the situation: I'm using the following command on
> Jesse> PC1 to let PC1 make a SSH-tunnel to PC2 ssh -R
> Jesse> 4000:localhost:22 account@PC2 And I have installed a SSH
> Jesse> service on PC2 to make tunneling possible.
>
> Jesse> Same question in detail: When I use the command above, it will
> Jesse> make the tunnel, but I will also make PC1 login on the console
> Jesse> of PC2. That last step is something I do not want. PC1 should
> Jesse> only make the tunnel to PC2, but should NOT login on the
> Jesse> console of PC2. Is this possible?
>
> $ man ssh
> ...
> -N Do not execute a remote command. This is useful for just for-
> warding ports (protocol version 2 only).
> ...
>
I'm looking for an option on the SSH-Tunnel-server (PC2) side, not on
the SSH-Tunnel-client side (PC1). This because PC1 is not fully under my
control, but PC2 is.
Is there also an option like -N for SSHD somehow? I could not find such.
- Previous message: Richard E. Silverman: "Re: SSH Tunneling without console login"
- In reply to: Richard E. Silverman: "Re: SSH Tunneling without console login"
- Next in thread: Richard E. Silverman: "Re: SSH Tunneling without console login"
- Reply: Richard E. Silverman: "Re: SSH Tunneling without console login"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|