@@ -9,12 +9,14 @@ Configure and ssh or create a tunnel to an Oracle Cloud Infrastructure host via
99
10100 . Bash shell, SSH CLI client, ` sed ` , ` sleep ` , etc.
1111 * (macOS, Linux) Out-of-the-box
12- * (Windows) Install [ WSL] ( https://learn.microsoft.com/en-us/windows/wsl/ ) or [ Cygwin] ( https://www.cygwin.com/ )
13- 1 . Install and configure [ OCI CLI] ( https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/cliinstall.htm ) .
14- * One of the following SSH key pairs in ` ~/.ssh/ ` must be used: ` id_rsa* ` , ` id_dsa* ` , ` id_ecdsa* ` , ` id_ed25519* ` , or
15- ` id_xmss* ` . If there are multiple keys the first one found from the list above will be used.
16- 2 . Install [ ` jq ` ] ( https://stedolan.github.io/jq/ ) .
17- 3 . Define the following environment variables. OCI menus below are as of October 2022.
12+ * (Windows) Install [ WSL] ( https://learn.microsoft.com/en-us/windows/wsl/ ) or [ Cygwin] ( https://www.cygwin.com/ )
13+ 1 . ` ssh ` CLI client.
14+ * Generate an SSH key pair if you don't have any. One of the following SSH key pairs in ` ~/.ssh/ ` must be used:
15+ ` id_rsa* ` , ` id_dsa* ` , ` id_ecdsa* ` , ` id_ed25519* ` , or ` id_xmss* ` . If multiple key pairs are present, the first one
16+ found from the list above will be used.
17+ 2 . Install and configure [ OCI CLI] ( https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/cliinstall.htm ) .
18+ 3 . Install [ ` jq ` ] ( https://stedolan.github.io/jq/ ) .
19+ 4 . Define the following environment variables. OCI menus below are as of October 2022.
1820 1 . ` OCI_INSTANCE_IP ` : OCI host IP. See ` Compute ` > ` Instances ` > {host} > ` Primary VNIC ` > ` Private IP address `
1921 2 . ` OCI_INSTANCE_OCID ` . See ` Compute ` > ` Instances ` > {host} > ` General information ` > ` OCID `
2022 3 . ` OCI_BASTION_OCID ` . See ` Identity & Security ` > ` Bastion ` > {bastion} > ` Bastion information ` > ` OCID `
0 commit comments