The following command works as expected:
ssh soak@10.10.10.11 "ssh soak@10.199.199.191 "mysqlshow""
But the following does not:
ssh soak@10.10.10.11 "ssh soak@10.199.199.191 "mysql test -Bse"show variables"""
The following part works at the command prompt but fails when I do ssh before executing it as shown above.
mysql test -Bse"show variables"