NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: ssh-agent on 32-bit NetBSD?
Date: Sun, 22 Nov 2026 15:00:00 -0600
From: Ted Spradley <tsprad%spradley.org@localhost>
Message-ID: <20261122150000.f96ceff2e45740e711bfe276%spradley.org@localhost>
| Sprinkling a few debug prints indicates that the construct:
|
| echo " socket: " $SSH_AUTH_SOCK
| [ -S "$SSH_AUTH_SOCK" ] || echo " sock1: " $SSH_AUTH_SOCK
|
| is the problem. Both echoes show $SSH_AUTH_SOCK as blank.
That would indicate (to me) that you haven't started ssh-agent from
the current shell, or some parent of it - that's what is intended to
set the variable (or cause them to be set).
The ssh-agent man page suggests that
eval `ssh-agent -s`
is what should be done. That, or you create everything as a child
of ssh-agent by doing something like "ssh-agent xterm &" and then
everything started by that xterm will have the environment vars set.
kre
The test for
| a socket works as expected on 64-bit but not on 32-bit.
|
| Can anyone offer a clue?
|
| --
| Ted Spradley
| I remember when bits were forged from rings of iron and bytes were
| hand sewn like baseballs by women in Puerto Rico. Yes, I am very old.
|
|
Home |
Main Index |
Thread Index |
Old Index