From http://bugs.debian.org/606759:
gpg-agent seems to ignore default-cache-ttl-ssh:
From .gnupg/gpg-agent.conf:
max-cache-ttl <TTL>
default-cache-ttl-ssh <SSH-TTL>
(<SSH-TTL> > <TTL>)
From debug log:
2010-12-11 11:24:34 gpg-agent[12425] DBG: agent_get_cache `<SSH-ID>'...
2010-12-11 11:24:34 gpg-agent[12425] DBG: ... miss
2010-12-11 11:24:34 gpg-agent[12425] starting a new PIN Entry
2010-12-11 11:24:34 gpg-agent[12425] DBG: connection to PIN entry established
2010-12-11 11:24:39 gpg-agent[12425] DBG: agent_put_cache `<SSH-ID>' requested
ttl=0 mode=4
[...]
2010-12-11 11:37:11 gpg-agent[12425] DBG: agent_get_cache `<SSH-ID>'...
2010-12-11 11:37:11 gpg-agent[12425] DBG: ... hit
[...]
2010-12-11 13:57:24 gpg-agent[12425] DBG: expired `<SSH-ID>' (<TTL>s after
creation)
I removed the actual values for privacy reasons...