On 6/17/11 6:17 AM, Scott Raun <sraun at fireopal.org> wrote:

> On Thu, Jun 16, 2011 at 11:56:14PM -0500, Paul Fierro wrote:
>> Hi,
>> 
>> Trying to run this but it isn't working - I'm suspecting it's the quotes:
>> 
>> $ ssh machine1 "ssh machine2 "mysql -e "show databases"""
>> 
>> I tried various combinations of single and double quotes as well as
>> backslashes. Can anyone help?
> 
> I saw that you got it working, but as an alternative, does this work?
> 
> $ ssh machine1 "ssh machine2 "mysql -e show\ databases""

Didn't work for me, but thanks for offering another alternative.

Paul