@details = qx($SSH $host $DOMAIN; $LINUXOS);
You want to pass multiple commands to the server separated by that semicolon. In your case, shell interpretation is going on locally. consider the difference between these two command lines:
Your code is doing the first. Add some quotes.$ ssh foo@bar.com /bin/domainname; cat /etc/redhat-release $ ssh foo@bar.com '/bin/domainname; cat /etc/redhat release'
In reply to Re: Check host
by sauoq
in thread Check host
by singho
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |