Ele me pergunta a senha:
$ ls -l fifo
prw------- 1 glopes users 0 Out 11 03:59 fifo
$ ssh-add fifo
Enter passphrase for fifo:
Em seguida, carregue a chave de outro terminal:
$ cat id_rsa > fifo
Ou tente o seguinte one-liner:
$ (cat id_rsa > fifo &); ssh-add fifo
Direto no terminal, sem ligar para $SSH_ASKPASS , como diz o manual:
If ssh-add needs a passphrase, it will read the passphrase from the current terminal if it was run from a terminal. If ssh-add does not have a terminal associated with it but
DISPLAYandSSH_ASKPASSare set, it will execute the program specified bySSH_ASKPASS(by default ''ssh-askpass)'' and open an X11 window to read the passphrase.
Você sempre pode contorná-lo descriptografando a chave explicitamente antes de passá-la para ssh-add.