From bd3ac133ac18877bc715d46bd5c96d19d9475ef4 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Thu, 12 Jan 2023 19:03:46 +0100 Subject: [PATCH] Do not patch TERM on work server Signed-off-by: Knut Ahlers --- bin/ssh-key-host | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/ssh-key-host b/bin/ssh-key-host index 1d73b3d..7617232 100755 --- a/bin/ssh-key-host +++ b/bin/ssh-key-host @@ -37,4 +37,5 @@ step "Loading key ${KEY_NAME}" vault-sshadd "${KEY_NAME}" step "Executing ssh" -exec env TERM=xterm-color ssh -p ${PORT} "${HOST}" "$@" +[[ $HOST == workwork.cloud.kserver.biz ]] || export TERM=xterm-color +exec ssh -p ${PORT} "${HOST}" "$@"