How to add a new user on a Linux server (with SSH access)
Vložit
- čas přidán 7. 07. 2024
- Get $200 free Digital Ocean credit using this link! www.juniordevelopercentral.co...
In this tutorial we'll take a look how to add a new user in a Linux environment, in particular a DigitalOcean droplet and then make sure the new user can access the server with an SSH key by making sure they have the approopriate public key.
We'll also make sure the user has sudo access so they can perform tasks with elevated privileges.
Thanks a lot this was insightful!
You’re welcome. Hope you found it useful.
exactly what i needed
Glad you found it useful 😀
Thank you, that was really useful... ✨✨
You’re welcome! Glad you found it helpful.
great explenation!
Thanks very much. Are you running your own servers?
@@codewithbubbYep. Have a couple on AWS
Thanks!
Cheers Daniel!
Thank you🎉🎉
No problem 😀
How to add another developer (with custom ssh key) as an user to VPS?
Hey could you make video on how to deploy multiple node apps on ubuntu.
Sure, do you mean hosting multiple node apps under one domain/ip or the actual deployment (or both)?
I did a video to answer your question here: How to Host Multiple Node Apps with nginx and pm2
czcams.com/video/5NwwuSWrCdw/video.html
Nice,
Thanks very much 👍
@@codewithbubb you're welcome, i wonder where can i get Linux commands documentations, is there a good site for that
I think it's probably one of those things when you need to use a command you end up Googling. I think if you search for 'Linux cheat sheet' you'll probably get some useful lists to get you familiar with some common commands.
4:37,what is the chown command hidden by you plz
chown -R george:george .ssh/
also wondering
In case anyone's still wondering: chown -R username:username ~/.ssh
Thanks for the vid. chown -R yields invalid group
Thanks very much. What was the full command you were running? Chances are either the user doesn't exist or the group doesn't exist.
@@codewithbubb chown -R natixis:natixis .ssh/ I just created the user.