FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 05-13-2011, 04:07 AM
Mike Castle
 
Default ssh suddenly prompting for passphrase

Just sharing something that happened to me.

After a recent upgrade with debian/testing, I noticed that ssh would
pop up a window asking for my password, and this would be AFTER
running ssh-add.

Turns out that I needed to read this bit in
/usr/share/doc/gnome-keyring/README.Debian:

"""
The GNOME keyring includes the functionality of the SSH and GPG agents,
and it can break some setups, especially if ssh-agent and/or gpg-agent
is started by hand.

You can disable a specific component by removing the gnome-keyring-gpg
and gnome-keyring-ssh elements from the startup applications. The
interface depends on your session manager; for GNOME you can use
gnome-session-properties. You can also simply edit
/etc/xdg/autostart/gnome-keyring-*.desktop.
"""

Now for me, surprise GUI prompts are annoying for a couple of reasons.
First, it's new. I've never seen that before this recent upgrade.
Second, I usually run screen, and it's possible the that first time I
run ssh out of this machine would have been after I first ssh-ed into
it, did screen -x, then ssh back out. So there'd be some random X app
prompting for my password on a machine several buildings away.

Anyway, from my GNOME desktop, it was simply
System/Preferences/Startup Applications and uncheck GNOME Keyring SSH
Agent

Cheers,
mrc


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: BANLkTikpaBSntxKFmtBp=HsPXiTOU35vdQ@mail.gmail.com ">http://lists.debian.org/BANLkTikpaBSntxKFmtBp=HsPXiTOU35vdQ@mail.gmail.com
 

Thread Tools




All times are GMT. The time now is 10:18 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org