P
P
pushbot2022-03-17 23:48:49
linux
pushbot, 2022-03-17 23:48:49

Restoring access to linux machine yandex cloud?

ssh access to the VM was lost where the web server and database are now running. Perhaps there is something else, there is no information about it. According to the instructions , a picture was taken and a new VM with a new ssh key. It turned out a new instance with a new boot disk and the old one mounted.
How can I restore the previous performance on a new instance?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Karabanov, 2022-03-17
@pushbot

Go to the home directory of the user on whose behalf you are going to work and add ~/.ssh/authorized_keysyour public SSH key to it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question