Skip to content

Commit

Permalink
💅 Added SSH_KNOWN_HOSTS example
Browse files Browse the repository at this point in the history
  • Loading branch information
mountainash committed Mar 10, 2024
1 parent 877d9c1 commit 180f536
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 180f536

Please sign in to comment.