Hi All,

Got a problem with SSH. I am trying to run a remote command but it keeps returning 'command not found'.

    chloe:~ root# ssh inky.mur.wocwa.com unison -version
    sh: line 1: unison: command not found


So I tried these options.


ssh inky.mur.wocwa.com unison -version <== This doesn't work. ssh inky.mur.wocwa.com /sw/bin/unison -version <== This DOES work. inky:~ root# unison -version <== This DOES work.

At first it thought it was a path issue, but everything seems to be right there as well.

    chloe:~ root# ssh inky.mur.wocwa.com echo $PATH
    /sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin

What am I doing wrong?