in reply to Re^4: back tick to do ssh
in thread back tick to do ssh

Sure it is! ;-) Putting everything in a shell script on the remote server and running that script, rather than juggling with quotes, escapes and pipes is easier, safer and gives more predictable results...