Connect to any OCI Instance directly from the OCI Console

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ก.พ. 2025

ความคิดเห็น • 11

  • @GoOutYT
    @GoOutYT 2 หลายเดือนก่อน

    can you plz help with console connection. by mistake i enabled Firewall d in my VM and I lost my access to terminal and filezilla. and unable to retrive the access.

  • @comosaycomosah
    @comosaycomosah 9 หลายเดือนก่อน +1

    would love to see some new videos from ya on things like oke and maybe cis landing zones customizing them things like that

  • @ram.64
    @ram.64 9 หลายเดือนก่อน +2

    Can you add the backdoor user on an existing machine?

    • @MakerDad
      @MakerDad 9 หลายเดือนก่อน

      not thru cloud init, as that only runs once.

    • @ram.64
      @ram.64 9 หลายเดือนก่อน +1

      @@MakerDad thanks for the fast reply. I deleted the SSH port in iptables by mistake and now I lost access to my instance. Not sure how to recover it. Any suggestions?

    • @ShahidKhan-er1sw
      @ShahidKhan-er1sw 9 หลายเดือนก่อน

      Yes, you can let me tell you how I did. I don't have any public key to connect through my ubuntu. So what I did I launch cloud shell connection as mentioned in the video and write my user name e.g. ubuntu you will find the user name below your public ip in compute instance. I just write 'ubuntu' in login and in the password I just enter my ubuntu my password (The password which I've set for ubuntu like we do on our local pcs.)

    • @ShahidKhan-er1sw
      @ShahidKhan-er1sw 9 หลายเดือนก่อน

      And once I login what I did I create a ssh key on local pc and then add the public key to authorized_keys filie in my server and that's it.

  • @studio48nl
    @studio48nl หลายเดือนก่อน

    This should be an option directly from the OCI Console without having to use a cloud init script.

  • @rebycfa5673
    @rebycfa5673 8 หลายเดือนก่อน

    this did not work for me for some reason. my boot volume is probably corrupted and im trying to login to the instance using your method but did not work for me. it says wrong password

    • @MakerDad
      @MakerDad 8 หลายเดือนก่อน

      this only works for instances that have been provisioned with my cloudinit scriot. does not work for existing instances

    • @rebycfa5673
      @rebycfa5673 8 หลายเดือนก่อน

      @@MakerDad i fixed it, thankfully i made a backup of my boot volume and made a new instance on it. but before that i did make a new instance on the corrupted boot volume and pasted the script but still did not work for me. but i did solve the issue in the end