← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2118934] Re: SSH agent won't pick up configuration from ~/.ssh/config

 

Is it documented somewhere that this is supposed to work? I don't know
gcr4 well enough to know if this is a bug or a feature request.

>From a naive search through the source, I don't see anything trying to
implement this.

> This works on Debian, if I remember correctly.

Can you try to confirm this?


** Changed in: gcr4 (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to gcr4 in Ubuntu.
https://bugs.launchpad.net/bugs/2118934

Title:
  SSH agent won't pick up configuration from ~/.ssh/config

Status in gcr4 package in Ubuntu:
  Incomplete

Bug description:
  I have a config file "~/.ssh/config" (chmod 600) containing the
  following lines:

  Host *
      AddKeysToAgent 10m

  I want it to forget the key after 10 minutes and then, when used
  again, ask for the passphrase. This works on Debian, if I remember
  correctly.

  By default, the key stays in the agent forever, and allow its use
  without any authorization or authentication.

  I'm still not sure if it's gcr or GNOME Keyring that's starting the
  SSH agent. My ps output indicates it's gcr...

  $ ps aux | grep ssh
  dsilva    428378  0.0  0.0 162652  6924 ?        Ssl  jul26   0:00 /usr/libexec/gcr-ssh-agent --base-dir /run/user/1000/gcr
  dsilva    444420  0.0  0.0   8432  5864 ?        S    jul26   0:00 /usr/bin/ssh-agent -D -a /run/user/1000/keyring/.ssh

  but the "Startup Applications" app shows an enabled entry for GNOME
  Keyring that enables the SSH component; this is confusing, because
  I've read that the SSH agent was moved to the gcr project.

  Here's a related issue from another user:
  https://askubuntu.com/questions/1486966/how-do-i-make-ssh-ask-for-the-
  password-every-time

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: gcr4 4.2.0-5
  ProcVersionSignature: Ubuntu 6.14.0-24.24~24.04.3-generic 6.14.6
  Uname: Linux 6.14.0-24-generic x86_64
  ApportVersion: 2.28.1-0ubuntu3.8
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Jul 28 15:01:21 2025
  InstallationDate: Installed on 2025-07-14 (14 days ago)
  InstallationMedia: Ubuntu 24.04.2 LTS "Noble Numbat" - Release amd64 (20250215)
  SourcePackage: gcr4
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcr4/+bug/2118934/+subscriptions



References