Hello!

In my zsh setup I use keychain to start ssg & gpg agents automatically,
but have problems using it under fish.

I put the following in my config.fish:

keychain --eval id_rsa 52B5C810

set fish as default shell and upon launching XFCE I get dialogs to
enter passwords.

Moreover, keychain lists the running agents:


gour@atmarama ~> keychain --agents

 * keychain 2.7.1 ~ http://www.funtoo.org
 * Found existing ssh-agent: 4212
 * Found existing gpg-agent: 4238

However, the problem is that trying to ssh to some remote server, I'm
asked for a passphrase.

Here is the ps ax output:

gour@atmarama ~> ps ax | grep ssh
 4212 ?        Ss     0:00 ssh-agent
 4413 ?        Ss     0:00 /usr/bin/gpg-agent --sh --daemon
 --enable-ssh-support --write-env-file /home/gour/.cache/gpg-agent-info

Moreover, ssh does not report any identity:

gour@atmarama ~> ssh-add -l
The agent has no identities.

My ~/.keychain/domain-fish has the following content:

set -e SSH_AUTH_SOCK; and set -x -U
SSH_AUTH_SOCK /tmp/ssh-0F3yvROn3IrT/agent.4211 set -e SSH_AGENT_PID;
and set -x -U SSH_AGENT_PID 4212

but, as seen, above, ssh-add shows no identity.

Here  is ~/.keychain/domain-sh output:

SSH_AUTH_SOCK=/tmp/ssh-0F3yvROn3IrT/agent.4211; export SSH_AUTH_SOCK;
SSH_AGENT_PID=4212; export SSH_AGENT_PID;

If I logout/login with zsh as default shell, the same agents are
still running and ssh-add -l shows my RSA identity and I can log to the
remote server without typing password.

Any clue what's wrong?


Sincerely,
Gour

-- 
Even a man of knowledge acts according to his own nature, for 
everyone follows the nature he has acquired from the three modes. 
What can repression accomplish?

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to