Ask Different is a question and answer site for power users of Apple hardware and software. 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 need to add a developers public ssh key to my user account so that he can access my console and help debug a node.JS issue. Any suggestions on where to start

share|improve this question
up vote 2 down vote accepted

Have them give you their public key, e. g. id_rsa.pub. Add that to the end of your ~/.ssh/authorized_keys file (e.g. by running cat id_rsa.pub >> ~/.ssh/authorized_keys in Terminal).

share|improve this answer
    
is that it. So just save the key below my public key file and all is good? – Charles Jan 10 '14 at 18:22
    
Yep, that's it; once you've done they (presuming you have the SSH server running and so forth), your friend should be albe to ssh yourusername@host.example.com (or use your IP address which you can see here). – DopeGhoti Jan 10 '14 at 18:34
1  
reminder, he'll have access to your account and all the rights associated with it. – dhempler Jan 10 '14 at 19:52
    
Great. Here is a gap online on this issue. Great answers. – Charles Jan 10 '14 at 20:10
    
*there is a gap – Charles Jan 10 '14 at 20:18

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.