Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Default SSH configuration file - Ubuntu 20.04

Hi, after creating an instance, I tried to make some modifications on the default SSH configuration file, but when I opened it again, it's empty (just a black screen) without text. Google Bard, said that the file is removed. How can I restore the file? Thank you.

1 1 226
1 REPLY 1

Hello @Mr1L ,

It can be restored if you were able to create a snapshot of your instance prior to modifying the SSH configuration files of your instance. If there were no snapshots created for the instance, it may be impossible to restore to the working state of your instance after the modification of the SSH configuration file. You can contact the Support team if there is a possibility and look further in your project.