lux wrote:
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?

Thanks
Y

You could try something like:

ssh [options] [EMAIL PROTECTED] "ssh [options] [EMAIL PROTECTED]"

You can skip the user@ part if you have the same user name.

ssh -Y PC_A "ssh -Y [EMAIL PROTECTED]"

Mikkel
--

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to