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:51:51 -0700 (PDT)

That makes sense.  So the "feature" is to split all parameters on space even
if they are quoted?   I would vote to remove this "feature" in ssh.  Thanks
for the explanation.


Greg Wooledge wrote:
> 
> 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'
> 
> 
> 
> 

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





reply via email to

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