SSH Login
-
Hi Guy's, I'm new here.
I have just completed the first 7 steps of VPS creation.
I have a couple of questions though.
Firstly, I can still login using password authentication. Granted, not with any user but with my non root user. I guess this is because it was added to "AllowUsers" at the end of Step 7?
Secondly, when I reload ssh_config, I get the following errors:
"Could not load host key: /etc/ssh/ssh_host_rsa_key
Could not load host key: /etc/ssh/ssh_host_dsa_key
* Reloading OpenBSD Secure Shell server's configuration sshd [ OK ]"Is that ok?
Finally, not really a problem, but I added another test user to test if login would be allowed using password authentication, which it wasn't. How do I delete this user?
Thanks
Tom
Posted 1 year ago # -
Hey Tom
"password authentication" .. there's an error in your sshd_config file then .. this should not be possible for any user if you really turned it off (maybe there's a commenting #hash still before the directive as specified in the tutorial).
"Could not load" .. if key works that is the main thing but try updating/upgrading your system.
to delete a user:-
sudo deluser USERNAME
.. delete any home folder documents separately.
Posted 1 year ago #
Reply
You must log in to post.
Want HTML?
a blockquote code em strong ul ol liPlace code between backticks `codeHere`
You've got it.
