Operating System - HP-UX
1745812 Members
3761 Online
108722 Solutions
New Discussion

Re: Need help with ssh to multiple hosts with pipe

 
SOLVED
Go to solution
allanm77
Frequent Advisor
Solution

Re: Need help with ssh to multiple hosts with pipe

The vector method seems to be working when I actually run it by sshing into the box but remote from admin box it return no output.

Thought?
allanm77
Frequent Advisor

Re: Need help with ssh to multiple hosts with pipe

The existing issue is with awk '{print $2}' not working with the remote ssh.
allanm77
Frequent Advisor

Re: Need help with ssh to multiple hosts with pipe

Its working now after escaping the \$2.

Thanks so much for the vector method!
Dennis Handly
Acclaimed Contributor

Re: Need help with ssh to multiple hosts with pipe

>Thanks so much for the vector method!

 

It would be nice if you would assign some kudos.