Re: running multiple commands via ssh quickly

2000-03-06 Thread Allan M. Wind
On 2000-03-06 16:59:10, Dan Christensen wrote: > What I am looking for is a way to just authenticate once, and then > have the ability to run remote commands getting the error code and > the output on the local machine. > > Is there an easy way to do this? fsh /Allan -- Allan M. Wind

running multiple commands via ssh quickly

2000-03-06 Thread Dan Christensen
I have various shell scripts that do something like the following: if ssh -a -x remote-machine remote-command > local-file then ssh -a -x remote-machine another-command local-command else ssh -a -x remote-machine third-command another-local-command fi and more complicated variations. The