running shell command through ssh tunnel

Noah admin2 at
Sat Dec 27 01:44:44 UTC 2008

Hi there,

I am trying to run a shell command to the host at the far end of an ssh
tunnel.   Here is how I structured access.  Is there any way to do this
more compactly on one line?

ssh -L 12345: noah at
ssh -p 12345 localhost 'chown -R noah:noah /shares/internal/Music/'



More information about the freebsd-questions mailing list