Now I can login from serial console.
sshd stopped.
and unable to restart sshd.
umm...
after waagent -deprovision unable login with ssh.
Hi All.
Hello I would like to make copy Linux VM on Azure.
I thought use capture function first. and then I did run command "sudo waagent -deprovision+user -force" But I noticed If used capture function once, that VM become unable to start. so I stopped use capture function.
I chosen snapshot function. After this It will became I unable to login with SSH. Does this cause from diasble waagent? How can I login with ssh again?
Best regards.
Michiteru
2 answers
Sort by: Most helpful
-
Michiteru Sugitani 70 Reputation points
2023-04-11T09:50:15.3+00:00 -
Michiteru Sugitani 70 Reputation points
2023-04-11T10:37:54.11+00:00 I checked messages log.
according to message log, no ssh key on /etc/ssh directly.
So I put key to /etc/ssh and /root/.ssh.
then I able to login with ssh now.