In article <1117666751.829980.265950@g14g2000cwa.googlegroups .com>,
dpreston617@comcast.net <dpreston617@comcast.net> wrote:
> When I do an "ssh <aixhost> uname -M" I get a null string back. All
> other uname options work. I'm trying to imbed it in a ksh script and
> the script is initiated via ssh. The offending line is pretty simple,
> echo "`uname -M`\t\c" . But ssh always returns a null. Any ideas?
What AIX version are you running? It works ok on my 5.2 ML6 hosts and
also on 4.3.3 ML11 hosts, too.
I made a test script: /tmp/test.sh with:
#!/bin/ksh
echo "`uname -M`\t\c"
Made it executable, then on my workstation:
$ ssh <host> /tmp/test.sh
Returned output as desired.
One thing you might try is putting in full path to uname: /usr/bin/uname.
-Dan