diff --git a/router/.gitlab-ci.yml b/router/.gitlab-ci.yml index 648ba2d..c1ac99b 100644 --- a/router/.gitlab-ci.yml +++ b/router/.gitlab-ci.yml @@ -1,11 +1,3 @@ -before_script: - # configure SSH keys - - 'which ssh-agent || ( apt-get install -qq openssh-client )' - - eval $(ssh-agent -s) - - ssh-add <(echo "$SSH_PRIVATE_KEY") - - mkdir -p ~/.ssh - - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config' - update-config-dump: image: debian:bullseye script: diff --git a/router/README.md b/router/README.md index f730afb..7f9ba28 100644 --- a/router/README.md +++ b/router/README.md @@ -68,6 +68,7 @@ Via: https://thehomeofthefuture.com/how-to/use-an-ssh-key-with-an-ubiquiti-edger 2. `configure` 3. ```sh +set system login user admin authentication public-keys jafner425@gmail.com set system login user admin authentication public-keys jafner425@gmail.com type ssh-rsa set system login user admin authentication public-keys jafner425@gmail.com key $KEY_VALUE ```