> > Then, the command "updatestartuptty" can fix the situation. > I tried this and it worked, in a su/sudo I had to do this: $ script -q -c '(gpg-connect-agent updatestartuptty /bye; ssh-add alice.subkey)'