peter360 a écrit :
 
> Thanks for the explanation.   So my understanding of the way ssh works is
> still incorrect.  I am confused about at which point the two parameters,
> "-c" and "ulimit -a" were converted into three, "-c", "ulimit", and "-a".  I
> guess I need to read the source of ssh and bash to really understand this...

Enabling tracing options usually helps a lot.


Instead of this:
ssh    localhost bash    -c 'ulimit -a'

Try this:
ssh -v localhost bash -x -c 'ulimit -a'


(And as usual, check out the "Guide to unix shell quoting")


Reply via email to