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

Bug#972048: ssh-add: Could not open a connection to your authentication agent.



Package: openssh-client
Version: 1:8.3p1-1
Severity: normal

I'm not sure ssh-add is at fault here, but I don't know how to debug this
any further.

For the past 2-3 days, I've been unable to use ssh-add to add pubkeys to my
ssh agent.

It fails with gnome-keyring-daemon:

  $ gnome-keyring-daemon
  SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
  $ ls  -l /run/user/1000/keyring/
  total 0
  srwxr-xr-x 1 francois francois 0 11 oct 13:47 control=
  srwxr-xr-x 1 francois francois 0 11 oct 13:47 pkcs11=
  srwxr-xr-x 1 francois francois 0 11 oct 13:47 ssh=
  $ ssh-add
  Could not open a connection to your authentication agent.

and also with ssh-agent:

  $ ssh-agent 
  SSH_AUTH_SOCK=/tmp/ssh-vlTg2Dg8kttR/agent.9854; export SSH_AUTH_SOCK;
  SSH_AGENT_PID=9855; export SSH_AGENT_PID;
  echo Agent pid 9855;
  $ ls -l /tmp/ssh-vlTg2Dg8kttR/
  total 0
  srw------- 1 francois francois 0 11 oct 13:49 agent.9854=
  $ ssh-add
  Could not open a connection to your authentication agent.

Francois

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.8.0-2-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_CA.utf8, LC_CTYPE=fr_CA.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages openssh-client depends on:
ii  adduser           3.118
ii  dpkg              1.20.5
ii  libc6             2.31-4
ii  libedit2          3.1-20191231-1
ii  libfido2-1        1.5.0-2
ii  libgssapi-krb5-2  1.17-10
ii  libselinux1       3.1-2
ii  libssl1.1         1.1.1h-1
ii  passwd            1:4.8.1-1
ii  zlib1g            1:1.2.11.dfsg-2

Versions of packages openssh-client recommends:
ii  xauth  1:1.0.10-1

Versions of packages openssh-client suggests:
pn  keychain                         <none>
pn  libpam-ssh                       <none>
pn  monkeysphere                     <none>
ii  ssh-askpass                      1:1.2.4.1-10+b1
ii  ssh-askpass-gnome [ssh-askpass]  1:8.3p1-1

-- no debconf information

-- 
https://fmarier.org/


Reply to: