bug-bash
[Top][All Lists]
Advanced

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

Re: ulimit and ssh?


From: peter360
Subject: Re: ulimit and ssh?
Date: Sun, 20 Sep 2009 20:53:39 -0700 (PDT)

In my case, I just got

$ ssh localhost bash -x -c 'ulimit -a'
unlimited
+ ulimit

Not very informative.


Marc Herbert-6 wrote:
> 
> 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")
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/ulimit-and-ssh--tp25262471p25530174.html
Sent from the Gnu - Bash mailing list archive at Nabble.com.





reply via email to

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