[plug] multiple commands in a single ssh connection

Keith Bawden keith at bawdo.com
Fri Oct 10 13:25:17 WST 2008


On Fri, Oct 10, 2008 at 13:34, Adam Hewitt <ahewitt at theozhewitts.com> wrote:
> Thanks Andrew, Gregory and Daniel,
>
> I have tried most of what has been suggested already which leads me to
> believe that its something to do with the remote host....which I
> should have specified as being Cisco switches.
>

Expect (as mentioned by Daniel) is excellent for this kind of task:

e.g. http://www.samag.com/documents/s=1180/sam9903c/9903c.htm

Regards, Keith



More information about the plug mailing list