Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about terraform-provider-oci

Read more about terraform-provider-oci

python (65.2k questions)

javascript (44.3k questions)

reactjs (22.7k questions)

java (20.8k questions)

c# (17.4k questions)

html (16.3k questions)

r (13.7k questions)

android (13k questions)

Questions - terraform-provider-oci

Not able to connect to remote host via terraform OCI ,remote-exec

I am new to Terraform , OCI . So I am now trying to ssh on a linux host in my OCI via cloud shell, but that host is in a private subnet. So I am trying below command but getting timeout error. Could ...
test-img

Deepak

ssh

terraform

oracle-cloud-infrastructure

remote-execution

terraform-provider-oci

Votes: 0

Answers: 1

Latest Answer

@Deepak .. I guess you cannot connect to instance in private subnet using private IP. You would need bastion host in this case. Before trying it from terraform, did you try it out from OCI console?. I...
test-img

Tapan Hegde

Getting the error in terraform code while trying to connect to linux server in OCI cloud shell . ------Failed to read ssh private key: no key found

Getting the error in terraform code while trying to connect to linux server in OCI cloud shell . ------Failed to read ssh private key: no key found Below is my code : - resource "null_resourc...
test-img

Deepak

terraform

oracle-cloud-infrastructure

terraform-provider-oci

oracle-cloud-shell

Votes: 0

Answers: 1

Latest Answer

Based on the comments. The issue was wrong format of the key. Instead of ppk, it should be pem.
test-img

Marcin

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved