Morn guys...

The following works as a test ssh to fire off a remote cmd. However it
waits for the cmd to complete befor returning. I'm looking to run th
cmd as a background on the local/calling instance. Ultimaely, I'll be
testing this from py/php scripts.

ssh -t user1@67.205.151.05 'cat /cloud/hash2.dat | wc -l'

-would the following work?

ssh -t user1@67.205.151.05 'cat /cloud/hash2.dat | wc -l' &

Im not sure if the "&" would be applied to the remote or local side
for the ssh. And yeah, I know I could run a few tests... but I thought
I'd get the opinion of some of you guys as well...!!

Thanks
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to