Re: Reverse SSH Tunnel - an easy way?



paulbrom@xxxxxxxxx wrote:
I have used Tunellier and freeSSHd to setup a tunnel from my home to my
work machine. However to use this system I need to initiate a
connection initially using a token based system. To avoid doing this
and to use the security of SSH I would like to setup a reverse SSH
tunnel from work to home. However googling I am a little lost.

I wish to login from home to work, but to do this without using any
tokens, the tunnel would have to be initiated from work. So - can
anyone point me to any resources that I can take a look at. Can I do
this with the client and server software that I presently use, or is
something else preferable and better.

I know that this sounds a very dumb question - I assume that the server
should still be at the work end and the client at home. If so, do I
have to create the tunnel at work before going home, or can this be
done remotely from home. If the latter, then how, because I cannot get
onto the work network without the token that I mentioned above, and I
wish to avoid using the token-based system.

Many thanks in anticipation of help - I appreciate it. Apologies for
any dumb sounding questions. I did spend a lot of time initially
getting to grips with SSH in June of this year, and then opted for the
easier solution of using Tunellier as it was so easy to use Remote
Desktop with this. I would like to use Remote desktop again, hence the
simplicity of Tunellier appeals.

Paul Bromley


Sounds like you want an SSH server running at work with remote port
forwarding on the client at home. By token I guess you mean something
like the RSA key fob? With OpenSSH you don't need one. You can
authenticate with passwords or a keypair. You wouldn't need to start the
tunnel before leaving to go home from work. Just make sure the server is
running and that any corporate and personal firewalls allow you to pass
through them on whatever port you run the tunnel over.
.



Relevant Pages

  • Re: reverse shell session
    ... I want to open a session on a client that connects to my server and makes ... a tunnel. ... You may ask why i want to do that, well the remote machine is behind a ... You could run an ssh server on the machine that's behind the FW on some ...
    (comp.security.ssh)
  • Two sites connected via hardware IPSec VPN Tunnel
    ... users cannot log into the network (the domain controllers are on the far ... server on the far side. ... I can remote desktop into the server on the remote end, ... tunnel and internet traffic goes directly fmro their router andnot over the ...
    (microsoft.public.windows.server.networking)
  • Tunneled IP Addresses?
    ... I use ssh tunnels to successfully browse my remote web ... that address and forwards them out the tunnel. ... some of the pages on the remote server refer to additional ...
    (comp.security.ssh)
  • Re: C# - connection to a remote SQL server
    ... remove server ... want to authenticate with trusted auth or sql auth. ... storing a token for access to the remote pc. ... understand a lot about nt authentication and tokens. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: VNC Through WinSSHD
    ... > remote to server machine. ... Login isn't necessarily a tunnel. ... Creating a tunnel requires an sshd service on the remote machine as ... Assume your vnc server is running display 0 and you use the vnc viewer ...
    (comp.security.ssh)