Date: Thu, 15 Aug 2002 09:55:39 -0700 From: fred@timogen.com To: <freebsd-questions@FreeBSD.ORG> Subject: About ssh remote executed scripts Message-ID: <006a01c2447c$9c843a20$8805a8c0@fred> References: <000801c243ec$56cb44a0$051f10ac@dportenis.com.mx>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
------=_NextPart_000_0067_01C24441.E93060A0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,
I have three hosts, host1, host2 and host3, I only can access =
host3 by ssh from host2, and I only can access host2 from host1 by ssh, =
pls. see the digram.
=20
ssh ssh
host1--------------host2-------------host3=20
I have some scripts on host3, can I want to executed it =
remotely on host1?
=20
Regards,
Fredc Zhang
=20
=20
------=_NextPart_000_0067_01C24441.E93060A0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2> I =
have three=20
hosts, host1, host2 and host3, I only can access host3 by ssh from=20
host2, and I only can access host2 from host1 by ssh, pls. see the=20
digram.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> =
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2> =20
=
=20
ssh &nbs=
p; =20
ssh</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> =20
host1--------------host2-------------host3 =
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2> I =
have some=20
scripts on host3, can </FONT><FONT face=3DArial size=3D2>I =
want to=20
executed it remotely on host1?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> =
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Regards,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Fredc Zhang</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2> =
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2> </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV></BODY></HTML>
------=_NextPart_000_0067_01C24441.E93060A0--
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?006a01c2447c$9c843a20$8805a8c0>
