Quantcast
Channel: Active questions tagged 22.04 - Ask Ubuntu
Viewing all articles
Browse latest Browse all 4650

Deleted password for my user on VPS, but still asks for password (locked out)?

$
0
0

I just bought a VPS plan with my hosting provider. I did all the necessary measurements for security and disabled root ssh login, created a custom myuser in the sudoer group etc.. so far so good. But it annoyed me to always type the password for myuser on every ssh login, so I deleted it with

sudo passwd –d myuser

Now apparently this was a mistake, since I'm now still asked about the password on every ssh login, but obviously there is no password? I'm a bit confused. Either way, if I type my old password it won't let me login and if I type no password it won't either. Is there a way to save my VPS still or did I officially lock myself out?

And since this hit me a bit unexpectedly, what the hell is going on? Why does ubuntu ask for a password when there is none?


Viewing all articles
Browse latest Browse all 4650


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>