LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Passwordless SSH access

[ILUG] Passwordless SSH access

Niall O Broin niall at linux.ie
Tue Mar 19 17:47:54 GMT 2002


On Tue, Mar 19, 2002 at 04:43:45PM +0000, kevin lyda wrote:

> On Tue, Mar 19, 2002 at 04:42:04PM +0000, John Tobin wrote:
> > On Tue, Mar 19, 2002 at 03:53:47PM +0000, John P. Looney wrote:
> > >  Looks like the method I was using to detect the ssh-agent wasn't very
> > > good. I forgot that it'll pick up grep as well as ssh-agent. Dime-bar ?
> > ps auxwww | grep "${USER}.*[s]sh-agent"
> > will prevent grep matching itself in the output from ps.
> 
> so will not giving ps any w flags.

Not it won't Kevin - we've been down that road

james at bilbo:~> ps -aux|grep ssh-agent
james     6033  0.0  0.4  2024  772 ?        S    15:47   0:00 ssh-agent
james     6160  0.0  0.3  1612  588 pts/0    S    17:10   0:00 grep ssh-agent


Niall




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell