Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
SSH To My Additional Non root user - Please help...
I am new to setting up a vps and would be grateful if someone could advise me on the following please:
I have read the setting up a vps beginners tutorial and I have understood how to log in to root via ssh keys. I have added ssh key in digital ocean portal and that all seemed to work fine.
I can log in via putty to root without any password
My problem is when adding a new user:
I can add the user fine, but adding ssh keys to the new sudo user is were iam stuck.
- How do I do this? Step by step would be helpful? 2.Can I use putty to log in to this new user or do i still need to log in as root and then login as new user? 3.Can I create a new private and public key in puttygen? 4.do i use the same ssh key that I use for root?
Thanks in advance
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.×