then there's something else wrong.  The string expansion should happen locally using the above-set value for `$GENOMIX_HOME`. `ssh` should only see the fully expanded variable, not $GENOMIX_HOME at all.  Did you have it in single-quotes or something?