Hello Jerome,

>> I'm using ssh 1:7.2p2-5
>
> Now I am also using ssh 1:7.2p2-5 , but I cannot still reproduce the issue.

8-/

> I suspect a bad interference with some pam_module present on your box but 
> absent on mine
> and/or a privilege issue.

I will try disabling some of the less used modules and see if I can at
least find which one it's interacting with.

> Can you confirm that pam_ssh emits not `start ssh-agent' message in 
> /var/log/auth.log ?
> What are the permission of your $HOME/.ssh folder ? (ls -ld $HOME/.ssh folder 
> )

The only lines in auth.log that contain the word 'agent' are in the form:

/tmp/ssh-<somerandomstring>/agent.<somepid>: No such file or
directory, the last of which was from yesterday morning, before the
reboot that first exhibited the issue (lack of agent startup). There
are plenty more before that (mostly due to the system not shutting
down cleanly with active NFS mounts and systemd), so they don't seem
to be related. Maybe there's some leftover that makes pam_ssh think
the agent is running already? Where could I look for?

The permission for ~/.ssh are rwx------, and rw------- are the
permissions for all private keys, the known_hosts, the authorized_keys
and config files.

Reply via email to