Re: [RFC] Initialisation of ssh-agent

2003-07-23 Thread Ryan Nowakowski
The way that is usually handled is when the process starts, you record the pid in a file in /var/run or /tmp. Then you grab the pid from that file when you need to check it. - Ryan On Wed, Jul 23, 2003 at 09:27:36AM +0100, Colin Watson wrote: > On Sat, Jul 19, 2003 at 07:07:19PM +0200, [EMAIL PR

Re: [RFC] Initialisation of ssh-agent

2003-07-23 Thread Colin Watson
On Wed, Jul 23, 2003 at 12:31:51PM +0200, [EMAIL PROTECTED] wrote: > On Wed, 23 Jul 2003, Colin Watson wrote: > > ps is probably the most inconsistent command in the entirety of Unix. > > No, 'ps ux' won't work on Unix systems which take most of their heritage > > from System V rather than BSD, and

Re: [RFC] Initialisation of ssh-agent

2003-07-23 Thread HdV
On Wed, 23 Jul 2003, Colin Watson wrote: > ps is probably the most inconsistent command in the entirety of Unix. > No, 'ps ux' won't work on Unix systems which take most of their heritage > from System V rather than BSD, and there is probably no one set of ps > arguments that will work everywhere.

Re: [RFC] Initialisation of ssh-agent

2003-07-23 Thread Colin Watson
On Sat, Jul 19, 2003 at 07:07:19PM +0200, [EMAIL PROTECTED] wrote: > Finally there is the output of "ps ux". I use it to verify the PID of > the ssh-agent process. For that I take the value found in the second > column, but I am not sure if "ps ux" will give me that on all/most > unices. Does anyon

Re: [RFC] Initialisation of ssh-agent

2003-07-19 Thread HdV
On Wed, 16 Jul 2003 [EMAIL PROTECTED] wrote: > I know about /etc/X11/Xsession.options and use-ssh-agent, but most of > the people that will be reading this are using Solaris, HP-UX and all > kinds of GNU/Linux distributions, so this must be as portable as > possible. Of course the above is for Ope

Re: [RFC] Initialisation of ssh-agent

2003-07-19 Thread Vincent Lefevre
On Fri, Jul 18, 2003 at 20:20:58 -0500, Jesse Meyer wrote: > On Fri, 18 Jul 2003, Vincent Lefevre wrote: > > I wrote some zsh scripts to start ssh-agent if one is not running, > > and call ssh-add only when needed (ssh, slogin and scp are wrappers). > > The ssh-agent is killed when it isn't needed

Re: [RFC] Initialisation of ssh-agent

2003-07-18 Thread Jesse Meyer
On Fri, 18 Jul 2003, Vincent Lefevre wrote: > I wrote some zsh scripts to start ssh-agent if one is not running, > and call ssh-add only when needed (ssh, slogin and scp are wrappers). > The ssh-agent is killed when it isn't needed any longer (but this > doesn't work very well with screen, perhaps

Re: [RFC] Initialisation of ssh-agent

2003-07-18 Thread Vincent Lefevre
On Wed, Jul 16, 2003 at 14:06:08 -0500, Ryan Nowakowski wrote: > On Wed, Jul 16, 2003 at 07:10:50PM +0200, [EMAIL PROTECTED] wrote: > > Currently I am writing a piece on the why and how of setting up SSH2 for > > public key authentication. For now it is in Dutch, but an English > > version will fol

Re: [RFC] Initialisation of ssh-agent

2003-07-16 Thread HdV
On Wed, 16 Jul 2003, Ryan Nowakowski wrote: > Take a look at keychain. It's the best way to start ssh-agent. Thanks for the suggestion, but 'apt-cache show' tells me it is for OpenSSH. Do you know if it will work with SSH.com and on other *nix platforms besides Gnu/Linux? Grx HdV -- To UNS

Re: [RFC] Initialisation of ssh-agent

2003-07-16 Thread Ryan Nowakowski
On Wed, Jul 16, 2003 at 07:10:50PM +0200, [EMAIL PROTECTED] wrote: > Hi, > > Currently I am writing a piece on the why and how of setting up SSH2 for > public key authentication. For now it is in Dutch, but an English > version will follow later on. In this document I want to show a couple > of ex