Artificial intelligent assistant

How to run svn when ssh over ssh? I need to run `sudo -u wwwrun sh -c 'svn status -uq /srv/www/htdocs/loquat'` over ssh. When using one ssh it works smoothly. Now there is one server that needs to be connected through another server via ssh. If I issue sudo ssh -t root@pacific ssh root@loquat "sudo -u wwwrun sh -c 'svn status -uq /srv/www/htdocs/loquat'" 2>&1 I get `Type 'svn help' for usage.` But when I do `sudo ssh -t root@pacific ssh root@loquat` I am connected to the desired server and then running `sudo -u wwwrun sh -c 'svn status -uq /srv/www/htdocs/loquat` manually gives me correct output. And when I run `sudo ssh -t root@pacific ssh root@loquat "sudo -u wwwrun sh -c 'id'" 2>&1` I get correctly `uid=30(wwwrun) gid=8(www) groups=8(www),1001(eduserver)` What do I need to do to fix that? * OpenSSH_5.1p1, OpenSSL 0.9.8j-fips 07 Jan 2009 * SuSE 10.2

Try this:


sudo ssh root@pacific ssh root@loquat sudo -u wwwrun svn status -uq /srv/www/htdocs/loquat 2>&1

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy e6dcb325927f42d78125711acb28a2b4