I wish you would show hot to add a new user when you have a public key setup on the server. How do you generate additional private keys from an existing public key?
can you mention every keyboard shortcut and so on the u use because is hard to follow with out knowing the software, but everything is awesome what great videos
i love how these people never go over errors or possibility or errors. Soo. What do you do when passwords aren't set. Even after sudo passwd changes? Yet the ssh login still doesn't work or allow passwords to be used?
sure wish I could do this while the microSD card with the Linux server OS is in my PC instead of in a headless Pi. I can only add that one line now (AllowUsers) and not the password. That seems like a real flaw.
great video Tony. Would you be up for creating a complete guide on how to create and secure a web server? For example Digital Ocean with CyberPanel market place app and the whole security portion, auto-updates, disable passwords logins etc? Thanks!
great video but remember to let people know that they should add the user they're logged in with, if any, since adding ONLY root and the new user will have the currently logged in user unable to ssh login after the current session terminates. (personal experience with this video 2yrs ago. I had to go buy a keyboard to get into my server again). Otherwise great vide.
Happened to me too :/ to resolve it, I logged in as one of those (non-sudo) users that I had added to the "AllowUsers" row, then typed in terminal "su - myUserName" to switch to my own user from which I could no longer ssh. With the sudo rights on my own user, I added myUserName back to the AllowUsers row, and otherwise followed the steps of this video.
Hi, thanks. How do you insert a line (keyboard shortcut)? I ended up having a swap file and it asks me to delete it. How can I do that and then move on?
Ya know what is damn annoying? Trying to follow something on the very bottom of the screen that is covered up when ya pause the video. That is annoying.
minimal length, easy to understand. You are so great
Thank you very much! This is very helpful 👍 you've earned yourself a subscriber 🙂
Awesome, thanks for the sub Ariel!
Thank you very helpful ! How can I add a public key to connect with this ssh user?
That's what I was looking for....Thank you so so so so so much 🤗 You got new subs.
Thanks for subbing!
I can’t copy csr code from my terminal in one click Wordpress vultr. Can you help me?
I wish you would show hot to add a new user when you have a public key setup on the server. How do you generate additional private keys from an existing public key?
Oh sorry, i don't know
but your on the same network... how would you connect this up from WAN network on another network and possible firewall
This was done on a remote server
can you mention every keyboard shortcut and so on the u use because is hard to follow with out knowing the software, but everything is awesome what great videos
Sorry about that, yes I will try to mention this in future videos
i love how these people never go over errors or possibility or errors. Soo. What do you do when passwords aren't set. Even after sudo passwd changes? Yet the ssh login still doesn't work or allow passwords to be used?
I tried this on aws ubuntu 18.04, I was able to create the user but was not able to ssh like you did in the end.
Did you try to reboot the server
@@TonyTeachesTech I have already solved it :)
And I have also forgotten how I solved it tbh. I usually forget small issues.
ssh: connect to host port 22: Connection refused
not good :-( after permission set to no for root is it not possible to have root (sudo) acces for the new user.
Yes ua-cam.com/video/WRdAugZivPQ/v-deo.html
sure wish I could do this while the microSD card with the Linux server OS is in my PC instead of in a headless Pi. I can only add that one line now (AllowUsers) and not the password. That seems like a real flaw.
That would be nice
great video Tony. Would you be up for creating a complete guide on how to create and secure a web server? For example Digital Ocean with CyberPanel market place app and the whole security portion, auto-updates, disable passwords logins etc? Thanks!
Great suggestion! I'm considering doing a security video, but probably not until early next year. Stay tuned :)
@@TonyTeachesTech will do! Take care man!
@@dandrevs You too!
See Random Thoughts channel.
great video but remember to let people know that they should add the user they're logged in with, if any, since adding ONLY root and the new user will have the currently logged in user unable to ssh login after the current session terminates. (personal experience with this video 2yrs ago. I had to go buy a keyboard to get into my server again). Otherwise great vide.
Happened to me too :/ to resolve it, I logged in as one of those (non-sudo) users that I had added to the "AllowUsers" row, then typed in terminal "su - myUserName" to switch to my own user from which I could no longer ssh. With the sudo rights on my own user, I added myUserName back to the AllowUsers row, and otherwise followed the steps of this video.
Still give me permission denied in RHEL 7.1, please try again
Even with sudo?
Thank you!
Hi, thanks. How do you insert a line (keyboard shortcut)? I ended up having a swap file and it asks me to delete it. How can I do that and then move on?
If you use vim, you type i to go into insert mode. Then you can edit the file like normal. To save type Esc :wq Enter
@@TonyTeachesTech just the tip i was looking for.
Thank you sir
Helpful
Glad it helped
If your logged in as root you don't need sudo just saying 👍
You're right
Always add user, never ever use root and do your things I know its easy to use root but its dangers.....
:) you got it!
@@TonyTeachesTech you teach me I watch your all videos thank you for all ;)
Ya know what is damn annoying? Trying to follow something on the very bottom of the screen that is covered up when ya pause the video. That is annoying.
merc