r/linuxadmin • u/TopicIndependent • Nov 27 '25
[HELP] Oracle Cloud ARM Instance Locked Out After Editing sshd_config — Serial Console Login Immediately Resets
/r/oraclecloud/comments/1p86po7/help_oracle_cloud_arm_instance_locked_out_after/
2
Upvotes
1
u/ch0rp3y Nov 27 '25
Can you boot it into recovery mode? If not, you might need to add another disk with an OS and chroot into your locked out filesystem
2
u/justinDavidow Nov 28 '25
Unless you have some special disk config:
1
u/michaelpaoli Nov 28 '25
Standard procedures, quite same as, e.g. lost root password and no other login access.
You boot from recovery media (or host), then mount and fix the problem on the target filesystem(s).
Procedures pretty much same in cloud, though the terminology changes, but it's still the same thing, regardless of what they call it. So, if they call a (virtual) host a pumpkin, and the device that may contain a filesystem stuffing, and the filesystem within such a device gravy, you boot another pumpkin, access your stuffing with that pumpkin and mount the gravy. Then you fix what you (or whomever) screwed up in the gravy. Same as always, only the names have changed.