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.

White Paper
Linux Management with Red Hat Satellite: Measuring Business Impact and ROI

Linux has become a key foundation for supporting today's rapidly growing IT environments. Linux is being used to deploy business applications and databases, trading on its reputation as a low-cost operating environment. For many IT organizations, Linux is a mainstay for deploying Web servers and has evolved from handling basic file, print, and utility workloads to running mission-critical applications and databases, physically, virtually, and in the cloud. As Linux grows in importance in terms of value to the business, managing Linux environments to high standards of service quality — availability, security, and performance — becomes an essential requirement for business success.

Learn More

Sponsored by Red Hat

White Paper
Private PaaS for the Agile Enterprise

If you already use virtualized infrastructure, you are well on your way to leveraging the power of the cloud. Virtualization offers the promise of limitless resources, but how do you manage that scalability when your DevOps team doesn’t scale? In today’s hypercompetitive markets, fast results can make a difference between leading the pack vs. obsolescence. Organizations need more benefits from cloud computing than just raw resources. They need agility, flexibility, convenience, ROI, and control.

Stackato private Platform-as-a-Service technology from ActiveState extends your private cloud infrastructure by creating a private PaaS to provide on-demand availability, flexibility, control, and ultimately, faster time-to-market for your enterprise.

Learn More

Sponsored by ActiveState