Jeff Squyres wrote: > After sending this reply, I thought about this issue a bit more -- > do you have any idea how portable the embedding of \n's in an ssh > command is? I.e., will this work everywhere?
:) I almost commented the last time "I don't know how portable this is". I would imagine it's entirely portable, but I only have access to OpenSSH to test it - I think it's just a case of typing: ssh host 'echo a echo b echo c' at the command line and checking it does what it should.