Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I suppose that my main Linux user account password serves as my SSH password as well. Is there a way I can modify this? As it turns out, I'd like to have a REALLY secure SSH password for obvious reasons, but a less secure local password, as it makes typing in passwords a heck of a lot easier on a machine. Is there a way I can change my account password in SSH without changing my Linux user password?

share|improve this question
up vote 2 down vote accepted

No. But if you use a SSH key and require login using a key then you can set the key passphrase to anything you like.

share|improve this answer
Fyi, the linked page mostly describes generation of SSH1-RSA keys. Be careful with the instructions. – grawity Feb 15 '11 at 14:08
Thanks, I'll look into it. That's always more secure than using passwords anyway, right? Do you know of a tutorial on how to get key-only authentication set up on servers and clients? – Naftuli Tzvi Kay Feb 15 '11 at 15:52
Normally this is controlled by the PasswordAuthentication option in sshd_config; you can use Match to restrict it to specific users. – Ignacio Vazquez-Abrams Feb 15 '11 at 17:13

It is possible with some PAM configuration magic. With SSH, however, key-based authentication as suggested by Ignacio is a better solution.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .