Score:0

How can i solve Access denied in PuTTY?

cf flag

I am trying to use PuTTY. However when I tried to log in I get an Access denied error. I don't think the password is wrong because I use the same password and IP address with ssh when I connect to the Ubuntu server. In /etc/ssh/sshd_config I changed PasswordAuthentication yes to fix the problem, but I got this error.

sshd_config: enter image description here

The error: enter image description here

Any way to fix it?

EDIT:

After log all session:

enter image description here

uz flag
Jos
Is there an actual account called 'ubuntu' on the other side?
sunShine avatar
cf flag
When I tried to connect i use: ssh ubuntu@XXX.xx.xx.xx That's why i am using here too.
Pilot6 avatar
cn flag
So why did you use `ubuntu@`?
sunShine avatar
cf flag
I can connect with this in ubuntu, what else i can use in PuTTY?
uz flag
Jos
Set Putty to log all session output, try again to log in, and paste the contents of the log file into your question.
sunShine avatar
cf flag
After all session output and trying again to log in > Error writing session log (raw mode) to file: putty.log and i get the access denied error again.
uz flag
Jos
You need to redirect the logging to a file in a directory that you have write access to. In Windows that would be something starting with `C:\Users\...`.
sunShine avatar
cf flag
@Jos As you said that I redirect it (to my Desktop). However, i got the same error message.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.