Server Fault is a question and answer site for system and network administrators. 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 generated id_dsa key (ssh key) for my client, and then copied them over to authorized_keys.

And it works.

Is it possible to copy these Keys to another user account, so I don't have to re-create these keys?

share|improve this question
up vote 7 down vote accepted

short answer is yes. there's nothing about these keys that are special. just copy the files to the proper location and set the permissions (user:group and ugo) and it should work.

share|improve this answer

Longer answer is "think really hard about whether you want to do it." If one user gets compromised, you'll need to provide keys for all of them. Further, if the users know they are sharing keys, they will be able to impersonate each other.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.