bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ulimit and ssh?


From: Marc Herbert
Subject: Re: ulimit and ssh?
Date: Mon, 14 Sep 2009 12:34:22 +0100
User-agent: Thunderbird 2.0.0.21 (X11/20090320)

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

[Prev in Thread] Current Thread [Next in Thread]