Ubuntu Server in gns3 project ssh with nat0 of my ubuntu OS

Hello Team,

I am trying to establish ssh connection between nat0 with ubuntu server in gns3 as shown below

I allowed PermitRootLogin Yes in /etc/ssh/sshd_config
and using ansible commands as a root user
My Ssh connection has been done successfully but it is not asking me for a password for the following command

ansible 192.168.122.164 -m raw -a ‘ifconfig’ -u root -k

It prompts for ssh password
but if I hit enter without password also gives me output

can anyone help me?