#ssh from windows to mint: permission denied(publickey, password)
1 messages · Page 1 of 1 (latest)
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.
It specified it before I tried pa=yes. I tried restarting with sudo systemctl restart ssh, is that the right thing to do?
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?
regular user
Can we get a screenshot of the failed attempt?
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.