-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello everybody,
I have been trying to buildup some ssh tunneling commands that would
allow me to create a ssh session to an machine behind an firewall from
an machine behind an firewall but with an public server in between. I
have spent an day trying to figure things out but without success. So I
wanted to ask for somebody help to get the right command...
I have added an attachment with ASCII art that should hopefully explain
my situation and what I would like to do.
Would somebody be willing to help me out?
Thanks in advance,
Jelle
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iJwEAQECAAYFAkkDI4UACgkQ1WclBW9j5HnopgP/bMA2Gn2SJKoPiI7mV7Vn+mp4
zTggZeEuztJ/Tm8irt+JakuGuQ5Uc4mWA1UUbkG42JxsEMpTaI7I5bGP3OuAHCJC
uXkW+INCXRLuYkMGIWrRFekV4NSR4MnB4Z5YxKi6OGkYmmn+GQ24NbLLofuy0AJE
UuCSx3VX8c7i074bDx4=
=XFH7
-----END PGP SIGNATURE-----
question: how can admin0 and admin1 get a ssh seccion with user0 to provide
remote support?
what are the exact ssh commands and there sequences for user0, admin0 and
admin1?
+----------------+ +----------+ +--------------+
+----------+
| user0 |--------| firewall |--------| internet www |--------|
firewall |
| ip: unknown | +----------+ +--------------+
+----------+
| ssh access to: | | |
| server0 | +----------+
+---------------------+
+----------------+ | firewall | | server0
|
+----------+ | ip:
84.245.3.195 |
+----------------+ | | provided
access to: |
| admin0 |------------------------------------+ | user0
|
| ip: unknown | | admin0
|
| ssh access to: | | admin1
|
| server0 |
+---------------------+
+----------------+ |
|
+----------------+ |
| admin1 |----------------------------------------------------------+
| ip: unknown |
| ssh access to: |
| server0 |
+----------------+
All systems are using debian linux sid or lenny, and no firewall can be
changed so only outgoing connection are allowed with exeption of the
firewall of server0
------------------------------------------------------------------------
#!/bin/bash
# command script for user0
...
exit
------------------------------------------------------------------------
#!/bin/bash
# command script for admin0
...
exit
------------------------------------------------------------------------
#!/bin/bash
# command script for admin1
...
exit
------------------------------------------------------------------------