Skip to content

Commit 6362409

Browse files
committed
* Migrate OCI_INSTANCE_IP to OCI_INSTANCE
* Error diagnostics for missing SSH key(s)
1 parent 10ec022 commit 6362409

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Configure and ssh or create a tunnel to an Oracle Cloud Infrastructure host via
1717
2. Install and configure [OCI CLI](https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/cliinstall.htm).
1818
3. Install [`jq`](https://stedolan.github.io/jq/).
1919
4. Define the following environment variables. OCI menus below are as of October 2022.
20-
1. `OCI_INSTANCE_IP`: OCI host IP. See `Compute` > `Instances` > {host} > `Primary VNIC` > `Private IP address`
20+
1. `OCI_INSTANCE`: OCI host Internal FQDN or Private IP. See `Compute` > `Instances` > {host} > `Primary VNIC`.
2121
2. `OCI_INSTANCE_OCID`. See `Compute` > `Instances` > {host} > `General information` > `OCID`
2222
3. `OCI_BASTION_OCID`. See `Identity & Security` > `Bastion` > {bastion} > `Bastion information` > `OCID`
2323
* If you're working with the single OCI host, setting them globally in your environment will work well.
@@ -27,6 +27,6 @@ Configure and ssh or create a tunnel to an Oracle Cloud Infrastructure host via
2727

2828
* Create a bastion session and ssh using system environment vars: `ssh-oci-bastion.sh joe`
2929
* Create a bastion session and ssh:
30-
`OCI_INSTANCE_IP=10.0.xx OCI_INSTANCE_OCID=ocid1.instance.xx OCI_BASTION_OCID=ocid1.bastion.xx ssh-oci-bastion.sh joe`
30+
`OCI_INSTANCE=10.0.xx OCI_INSTANCE_OCID=ocid1.instance.xx OCI_BASTION_OCID=ocid1.bastion.xx ssh-oci-bastion.sh joe`
3131
* Create a bastion port-forwarding session and launch the tunnel for the port 1234: `ssh-oci-bastion.sh -p 1234`
3232

0 commit comments

Comments
 (0)