Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 4964  / 1 Year ago, sat, january 7, 2023, 3:59:27

SSH is no longer asking for my private key's passphrase. I don't understand how this happening.



In the past, I have used ksshaskpass to get my ssh key's passphrase from KWallet and unlock my key. I would run the following script whenever I needed to use ssh:



#!/bin/bash
export SSH_ASKPASS=/usr/bin/ksshaskpass
/usr/bin/ssh-add < /dev/null


(side note: I used to have this in my .kde/Autostart/ but about a year ago that stopped working -- KWallet would just hang at login).



As of last week, this script stopped working. Ksshaskpass appeared to be popping up a prompt for me to enter my passphrase. It didn't seem be getting it from KWallet. So I typed my passphrase in the dialog and clicked the checkbox "automatically unlock this key whenever I'm logged in" to remember the password (thinking this would add it to KWallet again). Since doing this, ssh never asks for my passphrase, ever.






This dialog has now appears on my other Kubuntu machine. Here's a screen shot of it:
enter image description here



I had mistaken thought this was the ksshaskpass dialog. I now believe it isn't.




  1. What program is this?

  2. How do I undo having checked the check box?

  3. How to I get this program to stop hijacking ksshaskpass?

  4. Who's butt can I kick for moving my cheese?


More From » ssh

 Answers
4

I was able to find out what this application is. I wrote a blog post about it:



http://swoogan.blogspot.ca/2015/04/ssh-passphrase-chaos.html



The application is gcr-prompter. I removed it from my machine with:



$ sudo aptitude purge gcr
$ sudo apt-get autoremove
$ rm -rf .local/share/keyrings

[#22532] Saturday, January 7, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
huovie

Total Points: 234
Total Questions: 99
Total Answers: 105

Location: Central African Republic
Member since Sun, Feb 26, 2023
1 Year ago
huovie questions
Mon, Aug 2, 21, 01:46, 3 Years ago
Thu, Feb 2, 23, 10:58, 1 Year ago
Thu, Oct 21, 21, 08:55, 3 Years ago
Sun, Dec 5, 21, 23:57, 2 Years ago
;