Report this

What is the reason for this report?

How to permit multiple users access to the same server/droplet?

Posted on February 12, 2016

I am a new user and am not well versed in any of this stuff. I am creating a game in UE4 with multiple people housed on one server. I watched your tutorials on how to set up a new user/ssh keys etc. However after I did, none of my other teammates can access the server in the terminal. Was I not supposed to set up a ssh key? How can all of my teammates access the same droplet so that we can work on the same game and share information?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Shared access (everyone uses one user account) can be done by having each additional developer (friend) create their own key (follow the tutorial like you did), then you add their public keys to the ~/.ssh/authorized_keys file (one key per line). They they’ll log in with the same username@server that you do (no password required).

They can email you their id_rsa.pub, since the public key file does NOT need protected. It’s just text, and you need to copy/paste the text into the authorized_keys (I prefer a single line of text per key).

Let them know when you’ve saved the authorized_keys file, they can log in right away to verify it works.

As long as you’ve assigned your droplet an IP address (on the console) they can get access with a userid and password, provided you’ve created them an account with useradd. – Dick S.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.