Hi Team,
we have deployed MaaS and installed ubunutu-20.04 on the target machine using MaaS
When tried to login with the default username (mas), it is getting failed with below error
mas@maas:~$ ssh mas@172.73.2.2
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ED25519 key sent by the remote host is
SHA256:AkkQXDyrmlOS+LHocH0nbMh8tTQjD7sOek/t+hVlp74.
Please contact your system administrator.
Add correct host key in /home/mas/.ssh/known_hosts to get rid of this message.
Offending ED25519 key in /home/mas/.ssh/known_hosts:1
remove with:
ssh-keygen -f “/home/mas/.ssh/known_hosts” -R “172.73.2.2”
Host key for 172.73.2.2 has changed and you have requested strict checking.
Host key verification failed.
I have come across one post here and changed the default username from ubunutu to mas but still facing same issue
vi /etc/cloud/cloud.cfg
System and/or distro specific settings
(not accessible to handlers/transforms)
system_info:
This will affect which distro class gets used
distro: ubuntu
Default user name + that default users groups (if added/used)
default_user:
name: mas
lock_passwd: True
gecos: Ubuntu
groups: [adm, audio, cdrom, dialout, dip, floppy, lxd, netdev, plugdev, sudo, video]
sudo: [“ALL=(ALL) NOPASSWD:ALL”]
shell: /bin/bash
Could someone please help to suggest on how resolve this issue?
Also one more observation is the target machine going into power-off mode after few seconds and this is happening always once OS is installed, we have kept the power config as Manual in configuration of Machine in MaaS
Please help to suggest on this as well
Thank you for the support in advance.
With Regards
Kiran