[Solved] How to login to remote host when home directory is 777ed

[ad_1]

  • stop current instance and launch another instance with similar AMI and in the same zone.
  • detach disk volume from old instance and mount to new instance.
  • in the new instance, change the required file permissions inside the newly mounted volume
  • detach volume from new instance and attach to old instance.

Then I was able to SSH. Steps mentioned here in detail

[ad_2]

solved How to login to remote host when home directory is 777ed