Oracle Cloud Infrastructure - General

Get Involved. Join the Conversation.

Topic

    anatoliy smirnov
    connect to the instanceAnswered
    Topic posted November 13, 2019 by anatoliy smirnovGreen Ribbon: 100+ Points, tagged Classic, Virtual Cloud Network 
    42 Views, 3 Comments
    Title:
    connect to the instance
    Summary:
    can not connect to the instance after a few days
    Content:

    Hi,

    I have a couple of instances in the free tier, one has Linux 7.7 image and another has EBS 12.2.9 image, both with public ip. I worked with both of them for a few days and this week Tuesday suddenly lost ability to connect to either through putty ssh as opc, connection times out. Though I can still access the EBS URL fine. Anybody aware what the problem can be with the ssh connection to the instance ?

    Thanks,

    Anatoliy

     

    Best Comment

    Alex_D_Oracle

    Hello,

    EBS on a free tier VM is a bit of a stretch, you'll severely lack resources on a Micro instance to run that...

    In cases where your ssh isn't working for some reason, you have the possibility to connect through the serial console:

    https://docs.cloud.oracle.com/iaas/Content/Compute/References/serialconsole.htm

    This saved me in multiple cases...

     

    Possibly unrelated but you never know: please be sure to never allow ssh connections with password on your publicly accessible instances - it'll be brute forced and accessed by "third parties" in no time. Watch for strange processes running consuming your CPU...

    Comment

     

    • Alex_D_Oracle

      Hello,

      EBS on a free tier VM is a bit of a stretch, you'll severely lack resources on a Micro instance to run that...

      In cases where your ssh isn't working for some reason, you have the possibility to connect through the serial console:

      https://docs.cloud.oracle.com/iaas/Content/Compute/References/serialconsole.htm

      This saved me in multiple cases...

       

      Possibly unrelated but you never know: please be sure to never allow ssh connections with password on your publicly accessible instances - it'll be brute forced and accessed by "third parties" in no time. Watch for strange processes running consuming your CPU...

    • Richard Garsthagen

      Yeah, my best quess would be that an OS update, modifies your OS firewall to disable SHH, or something like it. 

      You can always make a console connection as Alex says, by using serial or graphical VCN session to the actual console.