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
[-- Attachment #1 --]
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.
ssh ssh
host1--------------host2-------------host3
I have some scripts on host3, can I want to executed it remotely on host1?
Regards,
Fredc Zhang
[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> 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.</FONT></DIV>
<DIV><FONT face=Arial size=2> </FONT></DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>
ssh
ssh</FONT></DIV>
<DIV><FONT face=Arial size=2>
host1--------------host2-------------host3 </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> I have some
scripts on host3, can </FONT><FONT face=Arial size=2>I want to
executed it remotely on host1?</FONT></DIV>
<DIV><FONT face=Arial size=2> </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>Fredc Zhang</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?006a01c2447c$9c843a20$8805a8c0>
