Recently, I installed a new Ubuntu 22.04 LTS and found that it worked the first time I logged in, but then it didn't!
I did the following configurations, but the problem is not solved
sudo vi /etc/ssh/ssd_config
Port 22
PermitRootLogon yes
PasswordAuthentication yes
sudo ufw allow ssh
sudo ufw allow openssh
Here is the error message
debug1: Next authentication method: password
[email protected]'s password:
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
Permission denied, please try again.
So, I'm wanted to find how to handle it. Thanks