Unable to access (Cento's)VM from Mac

Hey Support
I am unable to access the Centos VM from my MAC (After entering the right password)
Virtual Box is installed in my Mac
I am getting the error of permission denied Here is the configurations

Did you have the sshd service on the VM up and running?

Hello, @ManasUpadhyay
Enable the password authentication in your VM’s ssh (/etc/ssh/sshd_config) config file, after that restart the sshd service.
Please enter the correct IP address instead of 127.0.0.1.

I have enabled the password but still, I am unable to ssh

Yes SSH service is Up and running

Hello @ManasUpadhyay,
in Server’s /etc/ssh/sshd_config file:

  1. enable password authentication, uncomment
#PasswordAuthentication yes
  1. enable SSH key login, uncomment
#PubkeyAuthentication yes
#AuthorizedKeysFile .ssh/authorized_keys

Thanks,
KodeKloud Support