From 10d7942b877345c7996c07a711de28b63f04b787 Mon Sep 17 00:00:00 2001 From: Denise Schannon Date: Mon, 18 Jun 2018 15:17:09 -0700 Subject: [PATCH] bastion host in rke --- .../en/config-options/bastion-host/_index.md | 28 +++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/content/rke/v0.1.x/en/config-options/bastion-host/_index.md b/content/rke/v0.1.x/en/config-options/bastion-host/_index.md index 7677a054362..39f2333e89a 100644 --- a/content/rke/v0.1.x/en/config-options/bastion-host/_index.md +++ b/content/rke/v0.1.x/en/config-options/bastion-host/_index.md @@ -1,9 +1,11 @@ --- title: Bastion/Jump Host Configuration -weight: 3000 +weight: 3015 draft: true --- -Since RKE uses `ssh` to connect to hosts, you may have to use RKE with a bastion host. + +Since RKE uses `ssh` to connect to [nodes]({{< baseurl >}}/rke/v0.1.x/en/config-options/nodes/), you can configure to use a bastion host. + ```yaml bastion_host: address: x.x.x.x @@ -16,3 +18,25 @@ bastion_host: # # -----END RSA PRIVATE KEY----- ``` + +### Bastion Host Options + +#### Address + +The `address` directive will be used to set the hostname or IP address of the bastion host. RKE must be able to connect to this address. + +#### SSH Port + +You specify which `port` to be used when connecting to the bastion host. The default port is `22`. + +#### SSH Users + +You specify the `user` to be used when connecting to this node. + +#### SSH Key Path + +You specify the path, i.e. `ssh_key_path`, for the SSH private key to be used when connecting to the bastion host. + +#### SSH Key + +Instead of setting the path to the SSH key, you can specify the actual key, i.e. `ssh_key`, to be used to connect to the bastion host.