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.