After installing two VMs in VirtualBox, I tried to connect them, using ssh protocol from the client machine (with openssh-client installed) to the ssh server machine (with openssh-server installed). Both of machines are in a Host Only Network (named: vboxnet0). When I try, from the client (named: sshclient), to open a ssh connection on the server (named: sshserver and with IP address:192.168.56.3), I get the message: Permission denied, please try again. I typed:
ssh sshclient@sshserver -p 22 and typed the password (correctly, I am sure) 3 times. The port 22 was enabled on the server configuration file
/etc/ssh/sshd_config, the PasswordAuthentication line was uncommented and the IP address of the client was added in the file
/etc/hostson server side.
What is happened? Any tips to solve?
Thanks a lot.