12_Console_Connection_Issue_CloudShell - Nirvan-Pandey/OCI_DOC GitHub Wiki

Resolving SSH Issues Using Cloud Shell Connection

Overview

This document provides steps to resolve SSH issues using the Cloud Shell feature in Oracle Cloud Infrastructure (OCI). The steps are similar to those used for resolving SSH issues through a serial console connection or another instance within the same subnet. However, the Cloud Shell feature is recommended when the problematic instance is not connected to any other instance.

Why Use Cloud Shell?

  • Accessibility: Cloud Shell is accessible directly from the OCI Console, eliminating the need for another instance.
  • Convenience: It provides a pre-configured environment with necessary tools, making it easier to troubleshoot issues.
  • Security: Cloud Shell runs in a secure environment managed by Oracle, reducing the risk of exposing sensitive data.

Reference

For detailed steps and additional troubleshooting methods, refer to the https://github.com/Nirvan-Pandey/OCI_DOC/wiki/11_Console_Local_Connection_Serial

Summary

Using the Cloud Shell feature in OCI provides a convenient and secure way to troubleshoot and resolve SSH issues on your instances. It is especially useful when the problematic instance is not connected to any other instance within the same subnet. The steps are similar to those used for serial console connections, with the added benefit of accessibility and convenience provided by Cloud Shell.

Navigate to cloud shell

Open the Compute section, go to the instance, and click on the right side of the instance page under Developer Tools to select Cloud Shell.

image

Now cloud shell is open. image

Now we will follow the same process as mentioned in the link above starting from generating public and private key.

image