Re: ssh to a remote server via gateway server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----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-----

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux