Have KDE Ask for your SSH Passphrase on Login

FAIL (the browser should render some flash content, not this).

Set up KDE to ask for your SSH passphrase on login.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

pam_ssh

Mike Nerone's picture

I use pam_ssh. It sets up PAM so that at the primary login, you type your SSH passphrase instead of your normal password. The fact that the passphrase successfully decrypts your private key proves your identity just as surely as a unix password (probably more surely). pam_ssh then starts up an SSH agent for you with your key already loaded. Best of all, because it's integrated with PAM, this works not just in KDE, but from any login prompt, including the console. It's completely integrated and out of the way - you just think of your SSH passphrase as your password.

Mike Nerone

ssh-askpass needed

AB0OO's picture

I'm not sure all of the required components are included by default in all distros. For example, I use Kubuntu Intrepid Ibex, and I found that ssh-askpass (which is the X GUI that passes the keyphrase back to ssh-add) wasn't installed.
A quick "sudo aptitude install ssh-askpass" fixed me right up. YMMV.

Webinar
One Click, Universal Protection: Implementing Centralized Security Policies on Linux Systems

As Linux continues to play an ever increasing role in corporate data centers and institutions, ensuring the integrity and protection of these systems must be a priority. With 60% of the world's websites and an increasing share of organization's mission-critical workloads running on Linux, failing to stop malware and other advanced threats on Linux can increasingly impact an organization's reputation and bottom line.

Learn More

Sponsored by Bit9

Webinar
Linux Backup and Recovery Webinar

Most companies incorporate backup procedures for critical data, which can be restored quickly if a loss occurs. However, fewer companies are prepared for catastrophic system failures, in which they lose all data, the entire operating system, applications, settings, patches and more, reducing their system(s) to “bare metal.” After all, before data can be restored to a system, there must be a system to restore it to.

In this one hour webinar, learn how to enhance your existing backup strategies for better disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible bare-metal recovery solution for UNIX and Linux systems.

Learn More

Sponsored by Storix