Hi all,
I generated a SSH-key and copied it onto a server. When logging into the server, the console tells me that the server has recognized that I want a SSH-key login but neither a window dialogue (I'm using IceWM) nor a prompt on the commandline appears for me to enter my passphrase. After a while the server realizes that this does not work and defaults back to asking for my login password. Well, that works of course, but this is just what I wanted to prevent by using a SSH-key. I would like to shutoff login via password on the server, only allowing logins via SSH-keys. Using a GNOME, KDE or MATE-desktop on other Linux distributions when logging in via SSH-key, a window appears asking me for my SSH-passphrase. This does not happen on IceWM. I'm sure there is a solution to this, but so far I have not found it. Any help would be appreciated. I do not mind entering my passphrase on the commandline (I'm already working there anyway), so this would also be a way to go. But I do not know how to get there, so please bear with me.
Thanks for your help
topic title: No dialogue for entering SSH-key passphrase
3 posts
• Page 1 of 1
-
Posts: 24
- Joined: 19 Jan 2012
-
anticapitalista
Posts: 5,955
- Site Admin
- Joined: 11 Sep 2007
#2
Try apt-get install ssh-askpass
-
Posts: 24
- Joined: 19 Jan 2012
#3
Thanks for the quick response.
The package ssh-askpass is already installed. But I realized that ssh-agent daemon is not running, maybe that is the problem - I will have to look how to get running automatically at startup. I took a look into the manpage of ssh-askpass and to me as neither a Linux-expert nor having any programming skills it seems to be rather complicated to configure a graphical dialogue for entering the passphrase.
The package ssh-askpass is already installed. But I realized that ssh-agent daemon is not running, maybe that is the problem - I will have to look how to get running automatically at startup. I took a look into the manpage of ssh-askpass and to me as neither a Linux-expert nor having any programming skills it seems to be rather complicated to configure a graphical dialogue for entering the passphrase.