Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ssh no longer using keychain
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
darkphader
Veteran
Veteran


Joined: 09 May 2002
Posts: 1181
Location: Motown

PostPosted: Thu Aug 15, 2013 3:49 pm    Post subject: ssh no longer using keychain Reply with quote

It doesn't matter what type of console I use, although I normally use KDE's konsole. I am prompted for my passphrase instead of being connected.
The keychain commend works just fine (you're not seeing the first run here):
Code:
$ keychain .ssh/id_rsa

 * keychain 2.7.1 ~ http://www.funtoo.org
 * Found existing ssh-agent: 2568
 * Found existing gpg-agent: 2593
 * Known ssh key: .ssh/id_rsa

But I'm still getting prompted for the passphrase (something broke this recently):
Code:
$ ssh succotash
Enter passphrase for key '/home/user/.ssh/id_rsa':

_________________
WYSIWYG - What You See Is What You Grep
Back to top
View user's profile Send private message
macumazan
n00b
n00b


Joined: 13 Jun 2010
Posts: 9

PostPosted: Tue Sep 24, 2013 10:49 am    Post subject: Reply with quote

In ~/.zshrc I changed an old record to

Code:
eval `keychain --eval ~/.ssh/shell_rsa`
[[ -f $HOME/.keychain/$HOSTNAME-sh ]] && source $HOME/.keychain/$HOSTNAME-sh
Back to top
View user's profile Send private message
darkphader
Veteran
Veteran


Joined: 09 May 2002
Posts: 1181
Location: Motown

PostPosted: Tue Sep 24, 2013 2:09 pm    Post subject: Reply with quote

That works a treat. Thanks!
_________________
WYSIWYG - What You See Is What You Grep
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum