* [mdk-re] ssh-agent не устанавливает переменные окружения. Почему?
@ 2001-05-10 16:26 ` Alexander Vasiliev
2001-05-10 17:11 ` [mdk-re] " Dmitry V. Levin
0 siblings, 1 reply; 2+ messages in thread
From: Alexander Vasiliev @ 2001-05-10 16:26 UTC (permalink / raw)
To: mandrake-russian
ssh-agent не устанавливает переменные окружения для ssh-add.
Подскажите как исправить ситуацию?
$ ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-XXuTuUFt/agent.2858; export SSH_AUTH_SOCK;
SSH_AGENT_PID=2859; export SSH_AGENT_PID;
echo Agent pid 2859;
$ ssh-add
Could not open a connection to your authentication agent.
$ printenv | grep SSH
$
P.S. Если после ssh-agent руками провести export SSH_AUTH_SOCK=.... и
export SSH_AGENT_PID=... в соответствии с выдачей ssh-agent, то все работает.
Александр Васильев.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [mdk-re] Re: [mdk-re] ssh-agent не устанавливает переменные окружения. Почему?
2001-05-10 16:26 ` [mdk-re] ssh-agent не устанавливает переменные окружения. Почему? Alexander Vasiliev
@ 2001-05-10 17:11 ` Dmitry V. Levin
0 siblings, 0 replies; 2+ messages in thread
From: Dmitry V. Levin @ 2001-05-10 17:11 UTC (permalink / raw)
To: ALT Linux Spring mailing list
[-- Attachment #1: Type: text/plain, Size: 874 bytes --]
On Thu, May 10, 2001 at 04:29:22PM +0400, Alexander Vasiliev wrote:
> ssh-agent не устанавливает переменные окружения для ssh-add.
> Подскажите как исправить ситуацию?
>
> $ ssh-agent
> SSH_AUTH_SOCK=/tmp/ssh-XXuTuUFt/agent.2858; export SSH_AUTH_SOCK;
> SSH_AGENT_PID=2859; export SSH_AGENT_PID;
> echo Agent pid 2859;
> $ ssh-add
> Could not open a connection to your authentication agent.
Вы пытаетесь неправильно использовать ssh-agent. Пожалуйста, прочтите
документацию по ssh-agent(1).
Regards,
Dmitry
+-------------------------------------------------------------------------+
Dmitry V. Levin mailto://ldv@alt-linux.org
ALT Linux Team http://www.altlinux.ru/
Fandra Project http://www.fandra.org/
+-------------------------------------------------------------------------+
UNIX is user friendly. It's just very selective about who its friends are.
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-05-10 17:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-10 16:26 ` [mdk-re] ssh-agent не устанавливает переменные окружения. Почему? Alexander Vasiliev
2001-05-10 17:11 ` [mdk-re] " Dmitry V. Levin
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