Run an ssh server on an unfirewalled port, typically those > 1024. Of
course, if your firewall administrator does not want you running this
server, you will have created a future problem for yourself when he or she
notices....
Then from my home computer I can ssh -p 2200 localhost and get forwarded
to the office computer.
Another option you may wish to consider is opening a port on the linux
computer, or even still redirecting a port from the computer behind the
firewall to a port on the linx server.
- Scott
<Bo...@b.com> wrote in message
news:btkn8u4pb7nlh6pvu...@4ax.com...
Perhaps this better describes the situtation. Soon, machine B will be
out of the picture, and I was wondering if there could still be a way
to get into A from the outside.
CURRENT SITUATION
(A) (B)
Linux machine SSH Another machine
I want to access <----------------- I can access
^ ^
| Port 80 Only | Port 80, Port 22 only
| | (I think)
========+===============Firewall==============+===============
| |
| |
| No SSH SSH |
|--------------- Me ----------------|
This is why my "tunnel" originates in the office and terminates at my home
computer. Once that is done I can open an ssh session to the forwarded
port on my home computer and communicate with the office computer.
If only port 80 is open outbound you may be limited to something similar
where sshd is listening at home on port 80. I don't see where you would
have a problem if you established an ssh session from the office computer
to home - that's *all you need* to start.
- Scott
<Bo...@b.com> wrote in message
news:tnop8u88sgfjneecr...@4ax.com...
Am I correct?
--James
Home <---> Computer B <----> Computer C
From computer B,
ssh -p 22 -R 22:comp_C_ip:2200 -N home_ip
Try that.
- Scott
<Bo...@b.com> wrote in message
news:mvus8u86j5sgquclc...@4ax.com...
|
Home <----------|----------> Linux machine running SSH
|
+-Firewall only allowing port 80 http requests
Ignore the other computer, it doesn't exist in the question I am
asking. Assuming I have no access whatsoever to the Linux machine
running SSH behind the firewall, is there anyway I can set up the
Linux machine before I lose physical/logical access to it so that I
can get back in later?
I'm not looking for backdoor access, I will know the person
administering the machine, but I doubt they will want to go out of
their way to actively make this easier for me.
2. Back to back door access. Make a page accessible only by you with
user/pass protections which runs a script to do ssh remote forwarding for
you. When the session times out, you'll need to reenter your user/pass to
start the ssh process again. You'll need to set up public key
authentication again, but that's easy.
3. Go talk to your boss and find out why you can't get access to this box
through the firewall from home. Have him "arrange" a solution.
The difficulty increases with each option.
Good luck,
Scott
<Bo...@b.com> wrote in message
news:2ept8uoctur8cav3d...@4ax.com...
Thanks,
James