From 180f536f85fd38895d65b811121ee46b744587d6 Mon Sep 17 00:00:00 2001 From: "Mountain/\\Ash" Date: Sun, 10 Mar 2024 18:17:48 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=85=20Added=20SSH=5FKNOWN=5FHOSTS=20ex?= =?UTF-8?q?ample?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 23add18..1678029 100644 --- a/README.md +++ b/README.md @@ -11,9 +11,9 @@ Can be used in a deployment pipeline to connect to a remote host, and run a git, ## Setup ### Environment Variables -These variables are set in GitLab CI/CD settings (but could be any CI/CD pipeline service [eg. Github Actions, Jenkins, etc.]): +These variables are set in GitLab CI/CD settings (but could be any CI/CD pipeline service eg. GitHub Actions, CircleCI, Jenkins, etc.): - `SSH_HOST` (remote's hostname) -- `SSH_KNOWN_HOSTS` (host's key signature, can be set to `NoStrictHostKeyChecking` to not check) +- `SSH_KNOWN_HOSTS` (host's key signature eg. `[172.31.98.99]:22222 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE21QbMGqxh/pXh0/mn9K9hnplyRGA3MJfe/wBoCVIaX`, can be set to `NoStrictHostKeyChecking` to not check) - `SSH_USER_NAME` (ssh username for access to the host) - `SSH_PRIVATE_KEY` (ssh private key for SSH_USER_NAME)