CR-2026-03-25: SSH Agent Passphrase Cache Timeout Fix
Change Summary
| Field | Value |
|---|---|
Change ID |
CR-2026-03-25-ssh-timeout-001 |
Requested By |
Self |
Target Date |
TBD (low priority) |
Systems Affected |
|
Risk Level |
Low |
Rollback Time |
< 2 minutes |
Category |
Normal |
Problem Statement
SSH passphrase prompts appear too frequently during Claude Code sessions, interrupting workflow.
Root Cause
-
ssh-agent.service is FAILED since 2026-03-15
-
gpg-agent provides SSH via
gpg-agent-ssh.socket(working) -
Current TTL: 2 hours (
default-cache-ttl-ssh 7200) -
Conflicting services may cause socket issues
Current State
# ssh-agent status
systemctl --user status ssh-agent.service
# Result: failed (Result: exit-code) since 2026-03-15
# gpg-agent status
systemctl --user status gpg-agent.service
# Result: active (running)
# Current TTL settings
grep cache-ttl ~/.gnupg/gpg-agent.conf
# default-cache-ttl-ssh 7200 (2 hours)
# max-cache-ttl-ssh 28800 (8 hours)