Skip to content

Commit a6a2ea9

Browse files
committed
Clarify key setup in README
1 parent 84960f4 commit a6a2ea9

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,14 @@ Configure and ssh or create a tunnel to an Oracle Cloud Infrastructure host via
99

1010
0. 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

Comments
 (0)