[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ulimit and ssh?
From: |
Bob Proulx |
Subject: |
Re: ulimit and ssh? |
Date: |
Wed, 2 Sep 2009 12:18:02 -0600 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
peter360 wrote:
> Can someone explain this to me? Why am I not seeing correct results from
> ulimit after ssh into localhost? Thanks!
>
> $ ssh localhost bash -c 'ulimit -a'
> unlimited
You have insufficiently quoted your argument to ssh. This is causing
bash not to get "ulimit -a" but to get "ulimit" "-a" instead. You are
seeing the output of "ulimit".
Try this:
ssh localhost "bash -c 'ulimit -a'"
And this:
echo ulimit -a | ssh localhost bash
Bob
- ulimit and ssh?, peter360, 2009/09/02
- Re: ulimit and ssh?,
Bob Proulx <=
- Re: ulimit and ssh?, peter360, 2009/09/02
- Re: ulimit and ssh?, Bob Proulx, 2009/09/02
- Re: ulimit and ssh?, peter360, 2009/09/08
- Re: ulimit and ssh?, Greg Wooledge, 2009/09/08
- Re: ulimit and ssh?, peter360, 2009/09/20
- Re: ulimit and ssh?, Andreas Schwab, 2009/09/21
- Message not available
- Re: ulimit and ssh?, Marc Herbert, 2009/09/14
- Re: ulimit and ssh?, peter360, 2009/09/20
- Re: ulimit and ssh?, Andreas Schwab, 2009/09/21