ssh to a remote server via gateway server
François Patte
francois.patte at math-info.univ-paris5.fr
Thu May 29 19:24:00 UTC 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Le 29.05.2008 14:11, lux a écrit :
| Hi,
| I routinely login a remote server via a 'gateway' machine. For example,
| I need to login to PC B using ssh. But this PC B is behind a
| firewall.ssh port on PC A is open.
|
| As a result, I have to login PC A via ssh, then ssh PC B from PC A.
|
| Is there ssh command line option that I can directly ssh to PC B?
I think that you have to make some firewall rules on your gw to allow
NAT to PC B
I'm not sure that Mikkel's solution will work:
"Pseudo-terminal will not be allocated because stdin is not a terminal"
will be the error message.
- --
François Patte
UFR de mathématiques et informatique
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)1 44 55 35 61
http://www.math-info.univ-paris5.fr/~patte
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFIPwLQdE6C2dhV2JURAoTxAJ9vK1MopdjbpZyy+KYrzPMhrupnYQCfYLzt
1tVvpf2oidbvtPo9pxbYqds=
=64Mp
-----END PGP SIGNATURE-----
More information about the fedora-list
mailing list