diff --git a/net-misc/openssh/openssh-7.7_p1-r102.ebuild b/net-misc/openssh/openssh-7.7_p1-r102.ebuild index 5bea8702b077b..c4747a2597eec 100644 --- a/net-misc/openssh/openssh-7.7_p1-r102.ebuild +++ b/net-misc/openssh/openssh-7.7_p1-r102.ebuild @@ -345,6 +345,9 @@ tweak_ssh_configs() { # Allow client to pass locale environment variables. #367017 AcceptEnv ${locale_vars[*]} + + # Allow client to pass COLORTERM to match TERM. #658540 + AcceptEnv COLORTERM EOF # Then the client config. @@ -352,6 +355,9 @@ tweak_ssh_configs() { # Send locale environment variables. #367017 SendEnv ${locale_vars[*]} + + # Send COLORTERM to match TERM. #658540 + SendEnv COLORTERM EOF if use pam ; then diff --git a/net-misc/openssh/openssh-7.7_p1-r6.ebuild b/net-misc/openssh/openssh-7.7_p1-r6.ebuild index 3e0ed629bbce1..a8c8b20d4c270 100644 --- a/net-misc/openssh/openssh-7.7_p1-r6.ebuild +++ b/net-misc/openssh/openssh-7.7_p1-r6.ebuild @@ -345,6 +345,9 @@ tweak_ssh_configs() { # Allow client to pass locale environment variables. #367017 AcceptEnv ${locale_vars[*]} + + # Allow client to pass COLORTERM to match TERM. #658540 + AcceptEnv COLORTERM EOF # Then the client config. @@ -352,6 +355,9 @@ tweak_ssh_configs() { # Send locale environment variables. #367017 SendEnv ${locale_vars[*]} + + # Send COLORTERM to match TERM. #658540 + SendEnv COLORTERM EOF if use pam ; then