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 > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 04-07-2012, 03:10 PM
Ranjan Maitra
 
Default F16: ssh-add: Could not open a connection to your authentication agent.

On Sat, 7 Apr 2012 15:24:22 +0800 Ed Greshko <Ed.Greshko@greshko.com>
wrote:

> On 04/07/2012 03:01 PM, Ranjan Maitra wrote:
> > Dear friends,
> >
> > Just updated to the latest kernel 3.3.1 and rebooted and tried to get
> > everything going but I get:
> >
> > $ ssh-add
> > Could not open a connection to your authentication agent.
> > $
> >
> > What is this supposed to mean? This is perhaps the first time I have
> > seen this error in almost 15 years on linux. How can I fix it?
> >
> > Of course, the kernel update may have nothing to do with it. I also
> > updated kernel-headers, libtasn1 and taglib at the same time.
> >
> > Many thanks and best wishes,
> > Ranjan
>
> It means /usr/bin/ssh-agent isn't running.

But why did it suddenly stop?

>
> How are you logging in?

The usual way: type password in lxdm. Is this what you were asking?

Many thanks,
Ranjan
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 04-07-2012, 03:33 PM
Ranjan Maitra
 
Default F16: ssh-add: Could not open a connection to your authentication agent.

On Sat, 7 Apr 2012 23:28:05 +0800 Ed Greshko <Ed.Greshko@greshko.com>
wrote:

> On 04/07/2012 11:10 PM, Ranjan Maitra wrote:
> >> It means /usr/bin/ssh-agent isn't running.
> > But why did it suddenly stop?
>
> Are you sure it even started? (See below....)

In the past, it has always started.

> >> >
> >> > How are you logging in?
> > The usual way: type password in lxdm. Is this what you were asking?
>
> I asked because it has been a long time and I've forgotten what process gets it
> going. I know that it won't get started by logging in via ssh. I know that when
> using kde it gets started somewhere along the line in the startkde process. Don't
> know what kicks it off in other desktops.

This has always been the case from when I used fvwm, xfce and (now)
lxde.

> So.... Does it get started again when you logout/login?

No. Do I use systemd on this? But again, I have never had to do this,
ever, and I have my ssh-agent running all the time: that is how I
connect to the remote machine (without authenticating every time). I can
only connect now by typing the passphrase everytime.

Many thanks again!
Ranjan
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 04-07-2012, 04:07 PM
Ranjan Maitra
 
Default F16: ssh-add: Could not open a connection to your authentication agent.

On Sat, 7 Apr 2012 23:53:12 +0800 Ed Greshko <Ed.Greshko@greshko.com>
wrote:

> On 04/07/2012 11:33 PM, Ranjan Maitra wrote:
> > This has always been the case from when I used fvwm, xfce and (now) lxde.
>
> So, it had started previously under lxde?

Yes, until last night's updates (which may not have been relevant).

>
> >> So.... Does it get started again when you logout/login?
> > No. Do I use systemd on this? But again, I have never had to do this,
> > ever, and I have my ssh-agent running all the time: that is how I
> > connect to the remote machine (without authenticating every time). I can
> > only connect now by typing the passphrase everytime.
> >
>
> No, it isn't a systemd thing. It a user process started when/by the starting of the
> desktop.
>
> I don't really know what you mean by having "ssh-agent running all the time" or why
> you need to have it.... I have all of my rsa public keys in the authorized_keys
> files of all of my accounts so that I can ssh to any system without supplying a
> password or pass phrase. In all of those cases there is no ssh-agent running on the
> system to where I am connecting.

OK, sorry. I was not precise at all: I only understand ssh from a
layman's perspective: I followed exactly the process you outlined
above everytime. Is this a bug? How do I detect what is the issue?

Rannjan
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 04-07-2012, 04:12 PM
Ranjan Maitra
 
Default F16: ssh-add: Could not open a connection to your authentication agent.

On Sun, 8 Apr 2012 00:05:50 +0800 Ed Greshko <Ed.Greshko@greshko.com>
wrote:

> On 04/07/2012 11:53 PM, Ed Greshko wrote:
> > So, it had started previously under lxde?
>
> FWIW, I just group installed LXDE on a VM and ssh-agent started OK when I logged in.
>

OK, then it is me perhaps. But I did nothing out of the ordinary. What
do I do to fix the problem? Find it hopefully?

rebooting did not help.

Ranjan
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 04-07-2012, 11:41 PM
Ranjan Maitra
 
Default F16: ssh-add: Could not open a connection to your authentication agent.

>
> egreshko 1595 1483 0 00:21 ? 00:00:00 /usr/bin/ssh-agent /bin/sh -c exec -l
> /bin/bash -c "/usr/bin/startlxde"
>
> and the environment variables are set accordingly.
>
> SSH_AGENT_PID=1595
> SSH_AUTH_SOCK=/tmp/ssh-CQUbfzKj1483/agent.1483
> SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
> CVS_RSH=ssh
>

Mine reads as follows:

/usr/bin/ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-JZaOxWp10077/agent.10077; export SSH_AUTH_SOCK;
SSH_AGENT_PID=10078; export SSH_AGENT_PID;

> I have never see the need to run "ssh-add" so I don't know what problems are
> encountered by its failure.
>
> As for the failure of ssh-agent to start.... Hummm....
>
> Maybe I would try booting my system in multi-user.target as opposed to
> graphical.target and then manually run startlxde and check the results. (But I would
> do that after I wake up ... considering it is 00:30 here.... :-) 0

Thanks! I guess that would mean booting after removing the rhgb?

Ranjan
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 

Thread Tools




All times are GMT. The time now is 02:50 PM.

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