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:        Tue, 24 Nov 2026 17:06:06 -0600
    From:        Ted Spradley <tsprad%talent-free-studios.com@localhost>
    Message-ID:  <20261124170606.9ff3f1efa4574c19c52369f3%talent-free-studios.com@localhost>

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

At this point, clearly things have worked, ssh-add was able to find the
socket OK.

  | smoothie$ echo "$SSH_AUTH_SOCKET" > ~/.ssh/ssh-agent.env
  | smoothie$ 
  | smoothie$ echo "$SSH_AUTH_SOCKET"
  |
  | smoothie$ 
  |
  | Here, SSH_AUTH_SOCKET is set to blank.

And you don't see the difference there?   

[amd64]
  | set$  echo "$SSH_AUTH_SOCK"                       
  | /home/tsprad/.ssh/agent/s.Rcu43Urzb0.agent.Lcicm1F3NB
[i386]
  | smoothie$ echo "$SSH_AUTH_SOCKET"
  |

Really??

kre

ps: copy the script from your amd64 system (set?) to your i386 system
(smoothie?) and diff the two, if you still cannot see the problem.
Or just use the amd64 one on the i386 system.


Home | Main Index | Thread Index | Old Index