Comment 1 for bug 377467

Revision history for this message
Mikel Ward (mikelward) wrote :

Actually, it's something stranger. I think it might be starting but not unlocking my SSH key automatically.

Need to investigate further.

$ echo $SSH_AUTH_SOCK
/tmp/keyring-6gJinp/socket.ssh
$ echo $SSH_AGENT_PID
3971
$ ps -ef | grep keyring
mward 3930 1 0 11:21 ? 00:00:00 /usr/bin/gnome-keyring-daemon --daemonize --login
$ sudo lsof -p 3930 | grep '/tmp'
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/mward/.gvfs
      Output information may be incomplete.
gnome-key 3930 mward 7u unix 0xf50c5c00 9417 /tmp/keyring-6gJinp/socket
gnome-key 3930 mward 16u unix 0xf52ce000 10327 /tmp/orbit-mward/linc-f5a-0-3921dd1d5f951
gnome-key 3930 mward 17u unix 0xf52ce8c0 10330 /tmp/orbit-mward/linc-f5a-0-3921dd1d5f951
gnome-key 3930 mward 18u unix 0xf52cea80 10331 /tmp/keyring-6gJinp/socket.ssh
gnome-key 3930 mward 19u unix 0xf52cec40 10333 /tmp/keyring-6gJinp/socket.pkcs11
$ ps -fp 3971
UID PID PPID C STIME TTY TIME CMD
mward 3971 1 0 11:21 ? 00:00:00 ssh-agent
$ cat ~/.profile
    if test -z $SSH_AUTH_SOCK
    then
        if type ssh-agent >/dev/null 2>/dev/null
        then
            eval $(ssh-agent)
        fi
    fi
    if test -n $SSH_AUTH_SOCK
    then
        if type ssh-add >/dev/null 2>/dev/null
        then
            if ! ssh-add -l >/dev/null
            then
                ssh-add
            fi
        fi
    fi