Skip to content

Commit

Permalink
Merge pull request #993 from uselagoon/735-deprecate-node-cli-ssh-key
Browse files Browse the repository at this point in the history
feat: deprecated lagoon_cli.key and remove from Node 22
  • Loading branch information
tobybellwood committed May 1, 2024
2 parents b5d9d38 + d92cb1b commit 6f15147
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions images/node-cli/22.Dockerfile
Expand Up @@ -41,8 +41,7 @@ RUN fix-permissions /etc/my.cnf.d/

# SSH Key and Agent Setup
COPY ssh_config /etc/ssh/ssh_config
COPY id_ed25519_lagoon_cli.key /home/.ssh/lagoon_cli.key
RUN chmod 400 /home/.ssh/lagoon_cli.key
RUN sed -i '/# Deprecated: lagoon_cli.key/,+2d' /etc/ssh/ssh_config
ENV SSH_AUTH_SOCK=/tmp/ssh-agent

ENTRYPOINT ["/sbin/tini", "--", "/lagoon/entrypoints.sh"]
Expand Down
1 change: 1 addition & 0 deletions images/node-cli/ssh_config
Expand Up @@ -5,5 +5,6 @@ Host *
ServerAliveInterval 60
ServerAliveCountMax 1440

# Deprecated: lagoon_cli.key
Match localuser root
IdentityFile /home/.ssh/lagoon_cli.key
1 change: 1 addition & 0 deletions images/php-cli/ssh_config
Expand Up @@ -5,5 +5,6 @@ Host *
ServerAliveInterval 60
ServerAliveCountMax 1440

# Deprecated: lagoon_cli.key
Match localuser root
IdentityFile /home/.ssh/lagoon_cli.key

0 comments on commit 6f15147

Please sign in to comment.