bug-bash
[Top][All Lists]
Advanced

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

Re: ulimit and ssh?


From: Greg Wooledge
Subject: Re: ulimit and ssh?
Date: Tue, 8 Sep 2009 14:49:33 -0400
User-agent: Mutt/1.4.2.3i

On Tue, Sep 08, 2009 at 11:39:02AM -0700, peter360 wrote:
> 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...

It's an ssh "feature" for backward compatibility with remsh/rsh.

imadev:~$ $HOME/bin/args 'ulimit -a'
1 args: 'ulimit -a'
imadev:~$ remsh localhost $HOME/bin/args 'ulimit -a'
2 args: 'ulimit' '-a'
imadev:~$ ssh localhost $HOME/bin/args 'ulimit -a'
wooledg@localhost's password: 
2 args: 'ulimit' '-a'




reply via email to

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