File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ Configure and ssh or create a tunnel to an Oracle Cloud Infrastructure host via
17172 . Install and configure [ OCI CLI] ( https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/cliinstall.htm ) .
18183 . Install [ ` jq ` ] ( https://stedolan.github.io/jq/ ) .
19194 . 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
You can’t perform that action at this time.
0 commit comments