Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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

1 Answer 1

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 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 at 18:34
1  
reminder, he'll have access to your account and all the rights associated with it. –  dennis.hempler Jan 10 at 19:52
    
Great. Here is a gap online on this issue. Great answers. –  Charles Jan 10 at 20:10
    
*there is a gap –  Charles Jan 10 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.