From: Alexander Bokovoy <a.bokovoy@sam-solutions.net>
To: community@altlinux.ru
Subject: Re: [Comm] Re: ssh-agent
Date: Thu, 7 Aug 2003 11:07:08 +0300
Message-ID: <20030807080708.GF29386@sam-solutions.net> (raw)
In-Reply-To: <20030806165636.36302c77.iadzhubey@rics.bwh.harvard.edu>
On Wed, Aug 06, 2003 at 04:56:36PM -0400, Ivan Adzhubey wrote:
> On Wed, 6 Aug 2003 10:21:51 +0400
> Andrey Brindeew <abr@altlinux.ru> wrote:
>
> > On Tue, Aug 05, 2003 at 02:59:56PM +0400, Alexey Tourbin wrote:
> > > Можно запускать как угодно, главное понимать, как оно работает.
> > > У меня раньше запускался
> > >
> > > exec ssh-agent $SHELL
> >
> > А можно ли реализовать работу с агентом примерно так:
> >
> > При логине пользователя (в понятии ~/.bashrc) смотрим, есть ли
> > запущенный агент для данного пользователя. Если нету, то стартуем его
> > и делаем ssh-add. При повторном логине (агент уже запущен для
> > пользователя) просто выставляем в enviroment две нужные переменные.
> >
> > Вопрос: где можно безопасно хранить информацию о запущенном ssh-agent
> > (PID & socket name)?
>
> Можно использовать keychain:
>
> http://www.gentoo.org/proj/en/keychain.xml
>
> Но поскольку в Alt как-то и сейчас работает, то сам я keychain не
> пробовал. А вот _как_ именно оно сейчас работает в Alt мне тоже
> интересно. Навскидку это не очевидно, а рыться было лень.
>
> В Мандрейке по-моему используется именно keychain.
Мы решили эту проблему более года назад. Именно поэтому в нашем ssh-agent
есть специальная опция -u (unique) и используется сокет ssh-agent в ~/.ssh.
--
/ Alexander Bokovoy
---
I saw what you did and I know who you are.
prev parent reply other threads:[~2003-08-07 8:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-03 11:15 [Comm] ssh-agent Andrey Brindeew
2003-08-03 16:04 ` [Comm] ssh-agent Alexey Tourbin
2003-08-03 17:23 ` [Comm] ssh-agent artem
2003-08-05 10:59 ` [Comm] ssh-agent Alexey Tourbin
2003-08-06 6:21 ` Andrey Brindeew
2003-08-06 20:56 ` Ivan Adzhubey
2003-08-07 8:07 ` Alexander Bokovoy [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030807080708.GF29386@sam-solutions.net \
--to=a.bokovoy@sam-solutions.net \
--cc=community@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git