I am trying to execute a single command over ssh that contains `sub-code` or $(sub-code) (I use it all the time but I don\'t know the official name for that) to
ssh
What about piping the output of the command and run awk locally?
ssh yourhost uname -a | awk '{ print $2 } '