Connect to a Cloud VM on Windows with PuTTY


Options



Before You Begin

Purpose

This tutorial guides you through the connection of a Database Cloud Service instance using PuTTY over Windows. You can apply this tutorial to other Oracle cloud services.

Time to Complete

Approximately 15 minutes.

Background

Oracle GoldenGate Cloud Service uses a set of private and public Secure Shell keys for its connection.

What Do You Need?

  • Windows.
  • PuTTY as an SSH client.
  • Your service instance’s IP address.

Setting Up Your SSH Connection.

On Windows, you can use PuTTY as an SSH client. PuTTY allows Windows users to connect to remote systems over the internet using SSH and Telnet. SSH is supported in PuTTY, provides for a secure shell, and encrypting information before it's transferred.

Download and Run your PuTTY

  1. Download and install PuTTY.

    Go to http://www.putty.org/ and click the You can download PuTTY here link.

  2. Run the PuTTY program.

    On your computer, go to All Programs > PuTTY > PuTTY

  3. Select or enter the following information:
  • Category: Session
  • Host Name (Or IP address): 11.111.111.11
  • Port: 22
  • Connection type: SSH
Oracle headquarters buildings
Description of this image

Avoiding Timeouts by PuTTY When You´re Idle

  1. In theCategory section, click Connection.

  2. in the Seconds between keepalives field, enter 5.

    Oracle headquarters buildings
    Description of this image

Configuring Your Automatic Login

  1. In the Category section, click Connection and then select Data.
  2. As your Auto-login username, enter oracle.

    Note: For Database cloud service, the username is oracle. For most other Oracle Public Cloud (OPC) services, the username is opc.

  3. Oracle headquarters buildings
    Description of this image

Adding Your Private Key

  1. In the Category section, click Auth.

  2. Click Browse and find the private key file that matches your VM’s public key. This private key should have a .ppk extension for PuTTy to work. If your private key is not in a ppk, don’t have the correct format, go to Link to create one.

    Oracle headquarters buildings
    Description of this image

  3. To save all your settings:

    • In the Category section, click Session.

    • In the Saved Sessions section, name your session DB12C-ABC and click Save.

    Oracle headquarters buildings
    Description of this image
  4. In the same way, you can create another additional SSH to have them ready when provision instances with Oracle GoldenGate Cloud Service. (Change to: In the same way you can create sessions for other cloud services and save them for later.

Connecting to Your VM

Now you are ready to add your private key and ready to connect to your VM

1. Select your saved session and click Open.

  1. Click Open.

  2. Oracle headquarters buildings
    Description of this image
  3. Confirm that a PuTTY window opens with the title, oracle@DB12C-ABC ~ and that you connect successfully with no error messages.

    Oracle headquarters buildings
    Description of this image

Want to Learn More?