Re: reverse shell session



Chuck wrote:

waldo wrote:
I'm trying something that i think is easy but i cant find any leads to
how to do it.
I want to open a session on a client that connects to my server and makes
a tunnel. So the remote client runs a cron job at a certain hour, opens a
tunnel. The only way i think it is possible is ssh-over-ssh .. but this
seems such a mad idea that i think it is beyond my linux capabilities.
Any ideas or help? a how-to maybe somewhere on the net ?

You may ask why i want to do that , well the remote machine is behind a
router which serves my dorm, i have no credentials to forward a port, so
if you know another solution, let me know.

Let me make sure that I understand the problem. Are you saying you want
to access a PC that's behind a FW but can't forward the SSH port on the
router?

You could run an ssh server on the machine that's behind the FW on some
port that the FW allows incoming connections on. I do this on my home
machine. Not for the same reason but for a little additional security.
It makes it that much harder for the script kiddies to find my server.

Once you get the tunnel working, check out dynamic port forwarding.
It'll let you use the machine in your dorm as a proxy. Then you can get
free proxifying software that'll allow any TCP/IP program to use that
proxy, even if it doesn't support it natively. I use FreeCap.

thanks for the reply, but yesterday I thought why not make a VPN so i'm
trying firts to make a vpn with ssh and pptp which should enable me
afterwards to ssh to the remote computer :).

waldo

.



Relevant Pages

  • server securing issues
    ... have done some securing on my solaris server and ... Information about the remote host: ... Port ssh ... An SSH server is running on this port. ...
    (SunManagers)
  • Re: What is The SSH?
    ... Building and Using SSH Tunnels ... What is an SSH tunnel? ... how to use it to make a connection to a server. ... You will need a working SSH client and server installation to build and test ...
    (microsoft.public.windows.server.networking)
  • Re: restrict ssh access
    ... > We have one ssh server which receives about 6000 failed attempts to ... > unsuccessful login attempts per client IP address? ... the remote server is also running OpenSSH. ...
    (comp.security.ssh)
  • RE: Re: Remote connections
    ... Compliments of Cygwin you can setup a SSH server on ... connection through the SSH connection. ... Aside from creating a VPN tunnel and then performing a Remote Desktop ... Server Terminal Services and XP and 2003 server Remote Desktop machines. ...
    (Focus-Microsoft)
  • Re: Tunneled IP Addresses?
    ... First I connect via ssh. ... >specifying that all requests to a particular remote host be sent to ... >that address and forwards them out the tunnel. ... >pages (on the same server), but specify its IP Address rather than ...
    (comp.security.ssh)