The Linux Page

Lost SSH key graphical prompt and auto-add to SSH agent

At some point in the past, my system somehow lost the ability to avoid asking me for my key every time I connect to one of my servers. It generally okay, I don't do so much work on that server that I'd have to connect all the time...

However, it is annoying when, once in while, I end up doing a lot of work, back and forth.

The ssh-agent was installed and working. I could add the key manually:

ssh-add ~/.ssh/my-secret-key
ssh-add -l

The ssh-add command allows you to add and remove keys from the ssh-agent. The -l command line option lists the keys currently held by the agent.

Now, why would the key not get automatically installed the first time I was entering it?

I'm not totally sure what happened, but one time when I upgraded, it stopped work. The fact is that this upgrade must have removed the ssh-askpass package. I still had the gnome-ssh-askpass which opens a window to ask for the passphrase, but the ssh-askpass was not installed anymore...

sudo apt-get install ssh-askpass

resolved the problem.

Source: http://unix.stackexchange.com/questions/83986/tell-ssh-to-use-a-graphica...

Syndicate content

SMS From Me Logo

SMS From Me

To automatically start one on one conversations with your online leads.

     

   

Terms of Site Index

Find the page/content you are looking for with our index.

  • HTTPS

    Hyper Text Transfer Protocol Secure—The protocol used by browsers to communicate to web servers securely. The security is done with similarly to SSH. The transfer uses FTP like commands, but only one connection. Since HTTP 1.1 it is also possible to reuse the same connection for multiple files (pages, images, videos, etc.)

  • block
  • cvs

    CVS is a control source tool that has been used for a quite long time. It uses RCS as its bottom layer (RCS is limited to a single computer environment.) Each time the source code is checked in with a diff so one can always retrieve a previous version. CVS is often being replaced with SVN.

  • installation
  • ps

    Unix command line tool used to list processes currently running. On some older Unices, it would also show zombies (processes that have exited but with parents who have not yet acknoledged their death.)