This is a bit strange. I have two computer. One where the OS is Ubuntu and the other where it is a Windows 10 VM. From the first computer, I SSH my VM and I got this
jeremie@jeremie-ThinkStation-D30:~$ ssh 192.168.x.x
The authenticity of host '192.168.x.x (192.168.x.x)' can't be established.
ECDSA key fingerprint is SHA256:4OuK3XcaFN5whW9exSrOYb8nnom+dqGt8DyF6Yjg5V0.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.x.x' (ECDSA) to the list of known hosts.
jeremie@192.168.x.x's password:
Permission denied, please try again.
jeremie@192.168.x.x's password:
Permission denied, please try again.
jeremie@192.168.x.x's password:
jeremie@192.168.x.x: Permission denied (publickey,password,keyboard-interactive).
Be aware that I installed Bash/Ubuntu on my Windows VM. I had to set a username and password.
Why am I getting a rejection even though I enter the right password? Where is my error?
UPDATE
If I try with the same computer, i.e. my VM is hosted, I get the same problem using the same keyboard.
cat /etc/passwd
, one of the line isjeremie:x:1000:1000:,,,:/home/jeremie:/bin/bash
. I gues the username is fine. Also when I runssh ip_address
, by default ssh add the username when it asked me the password. It looks likejeremie@ip_address's password
– J.Doe Mar 24 '20 at 20:49