You are not logged in.

#1 2015-07-11 21:26:24

necbot
Member
Registered: 2013-12-05
Posts: 59

[Solved] how to set up ssh private key for no password prompt in xfce

I was using mate desktop but I switched to xfce.  Now I noticed that xfce keeps asking me for my ssh private key password.  How do I setup xfce the same way as mate so I'm not prompted for my ssh private key password?  Thanks.

Last edited by necbot (2015-07-12 15:18:26)

Offline

#2 2015-07-11 22:44:26

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: [Solved] how to set up ssh private key for no password prompt in xfce


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#3 2015-07-12 00:43:43

necbot
Member
Registered: 2013-12-05
Posts: 59

Re: [Solved] how to set up ssh private key for no password prompt in xfce

Thanks for the reply.  I don't currently have envoy installed.  I'm looking to mimic the functionality mate has.  I suspect that it uses gnome-keyring to manage keys and that mate unlocks this keyring when I login to mate, right?  If this is correct, do I need envoy?  Couldn't I simply unlock gnome-keyring when I log into xfce?  Thanks.

Offline

#4 2015-07-12 05:13:27

w201
Member
Registered: 2012-10-04
Posts: 289

Re: [Solved] how to set up ssh private key for no password prompt in xfce

Or maybe you can try something like this:

http://www.linuxproblem.org/art_9.html

Offline

#5 2015-07-12 05:43:26

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] how to set up ssh private key for no password prompt in xfce

OP has already set up public/private keys: they are looking for keychain functionality...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2015-07-12 11:56:53

necbot
Member
Registered: 2013-12-05
Posts: 59

Re: [Solved] how to set up ssh private key for no password prompt in xfce

@w201
I've already done that and I've transferred my public key to the workstations I'm interested in accessing.  The problem is that I always have to enter my private key password when I ssh into these machines when I'm using xfce.  With mate, I didn't have to.  With mate all I had to do was login and my private keys were unlocked.  I'm trying to get that functionality with xfce.

@jasonwryan
Exactly.

I think mate is using gnome-keyring to do this but I don't know how to set this up in xfce.

Offline

#7 2015-07-12 12:08:41

necbot
Member
Registered: 2013-12-05
Posts: 59

Re: [Solved] how to set up ssh private key for no password prompt in xfce

Okay, I found a solution....

I installed seahorse from the official repos and added this to my .bashrc file....

export $(gnome-keyring-daemon --daemonize --start)

This works.  However, I did not see this solution posted on the Arch wiki in the ssh keys section.  Would this information be worth adding to that article?

Offline

#8 2015-07-12 12:59:15

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: [Solved] how to set up ssh private key for no password prompt in xfce

necbot wrote:

Okay, I found a solution....

I installed seahorse from the official repos and added this to my .bashrc file....

export $(gnome-keyring-daemon --daemonize --start)

This works.  However, I did not see this solution posted on the Arch wiki in the ssh keys section.  Would this information be worth adding to that article?

Similar information already exists in the GNOME Keyring article.

Just for reference, in Xfce you can achieve the same effect by 'launching GNOME services on startup' - see https://wiki.archlinux.org/index.php/Xfce#SSH_agents

Offline

#9 2015-07-12 15:17:45

necbot
Member
Registered: 2013-12-05
Posts: 59

Re: [Solved] how to set up ssh private key for no password prompt in xfce

Thanks Chazza.  That is exactly the info I was looking for.

Offline

Board footer

Powered by FluxBB