ssh to a remote server via gateway server

lux yuanlux at gmail.com
Fri May 30 05:52:09 UTC 2008


On Fri, May 30, 2008 at 5:24 AM, François Patte <
francois.patte at math-info.univ-paris5.fr> wrote:

> -----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 don't have control on the gw for NAT .


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

Yes, I got the same error, as

Pseudo-terminal will not be allocated because stdin is not a terminal.
Host key verification failed.



>
> - --
> 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<http://www.math-info.univ-paris5.fr/%7Epatte>
> -----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 at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20080530/63900199/attachment-0001.htm>


More information about the fedora-list mailing list