NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ssh-agent on 32-bit NetBSD?



On Tue, 24 Nov 2026 04:10:22 +0700
Robert Elz <kre%munnari.OZ.AU@localhost> wrote:

>     Date:        Mon, 23 Nov 2026 13:43:56 -0600
>     From:        Ted Spradley <tsprad%talent-free-studios.com@localhost>
>     Message-ID:  <20261123134356.c5f3b9e7b36b381e75671fb2%talent-free-studios.com@localhost>
> 
>   | Now I am seriously confused:

Sorry about all the noise and confusion, folks. I guess I really am
getting too old.

I think I have finally figured out where the problem really is. On
amd64 this works as expected:

set$ eval "$(ssh-agent)"
Agent pid 19710
set$ ssh-add
Enter passphrase for /home/tsprad/.ssh/id_rsa: 
Identity added: /home/tsprad/.ssh/id_rsa (/home/tsprad/.ssh/id_rsa)
Identity added: /home/tsprad/.ssh/id_ed25519 (tsprad%netop.attlocal.net@localhost)
set$  echo "$SSH_AUTH_SOCK" > ~/.ssh/ssh-agent.env
set$  echo "$SSH_AUTH_SOCK"                       
/home/tsprad/.ssh/agent/s.Rcu43Urzb0.agent.Lcicm1F3NB
set$ 

SSH_AUTH SOCK gets set to the path to the socket. But on i386:

smoothie$ eval "$(ssh-agent)"
Agent pid 4937
smoothie$ ssh-add
Enter passphrase for /home/tsprad/.ssh/id_rsa: 
Identity added: /home/tsprad/.ssh/id_rsa (/home/tsprad/.ssh/id_rsa)
Identity added: /home/tsprad/.ssh/id_ed25519 (tsprad%netop.attlocal.net@localhost)
smoothie$ echo "$SSH_AUTH_SOCKET" > ~/.ssh/ssh-agent.env
smoothie$ 
smoothie$ echo "$SSH_AUTH_SOCKET"

smoothie$ 

Here, SSH_AUTH_SOCKET is set to blank.


-- 
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