#ssh from windows to mint: permission denied(publickey, password)

1 messages · Page 1 of 1 (latest)

ornate tinsel
#

I usually don't have trouble sshing into my mint system, but this is a new windows computer. I tried enabling PasswordAuthentication=yes on the mint machine, it doesn't seem to do anything.

prisma panther
#

Are you trying to ssh as root? And did you restart sshd after adding PasswordAuth=yes? I'm thinking you did, because the error message specifies pubkey and password, just wanting to check.

ornate tinsel
#

It specified it before I tried pa=yes. I tried restarting with sudo systemctl restart ssh, is that the right thing to do?

prisma panther
#

systemctl restart sshd? (note the d at the end)

#

and the other question, are you trying to ssh as root@host, or a regular user account?

ornate tinsel
#

regular user

prisma panther
#

Can we get a screenshot of the failed attempt?

ornate tinsel
#
PS C:\Users\windows> ssh name@ip
name@ip's password:
Permission denied, please try again.
name@ip's password:
Permission denied, please try again.
name@ip's password:
name@ip: Permission denied (publickey,password).
#

I restarted sshd before this

#

Found it. Wasn't sshing to the right username.

#

Thanks.