Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

2 Answers 2

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

 
discard

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.