From edb3fd46428416c7ca3fbd7ab0f2c4a1d77ed7f9 Mon Sep 17 00:00:00 2001 From: Toby Bellwood Date: Wed, 3 Feb 2021 11:06:29 +1100 Subject: [PATCH] add /home/.ssh/lagoon_cli.key for root localuser --- images/php-cli/ssh_config | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/images/php-cli/ssh_config b/images/php-cli/ssh_config index 092799462..6a0977ce6 100644 --- a/images/php-cli/ssh_config +++ b/images/php-cli/ssh_config @@ -1,7 +1,9 @@ Host * StrictHostKeyChecking no UserKnownHostsFile /dev/null - IdentityFile /home/.ssh/lagoon_cli.key IdentityFile /home/.ssh/key ServerAliveInterval 60 ServerAliveCountMax 1440 + +Match localuser root + IdentityFile /home/.ssh/lagoon_cli.key