ssh: send/accept also TZ TERM

This commit is contained in:
Aminda Suomalainen 2015-09-12 11:42:44 +03:00
parent 5229101447
commit fdf8255372
3 changed files with 9 additions and 8 deletions

View File

@ -22,8 +22,9 @@ Host *
# Always try public key authentication. # Always try public key authentication.
PubkeyAuthentication yes PubkeyAuthentication yes
# Send LANG, LANGUAGE and LC_* environment variables to the server. # Send needed environment variables. I don't like setting wildcards
SendEnv LANG LANGUAGE LC_* # and LC_ALL is disabled on purpouse.
SendEnv LANG LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION TERM TZ
# If the server doesn't reply in "three" pings, connection is dead. # If the server doesn't reply in "three" pings, connection is dead.
# Defaults to 3 anyway, but I add it here for clearity and # Defaults to 3 anyway, but I add it here for clearity and

View File

@ -23,8 +23,9 @@ Host *
# Always try public key authentication. # Always try public key authentication.
PubkeyAuthentication yes PubkeyAuthentication yes
# Send LANG, LANGUAGE and LC_* environment variables to the server. # Send needed environment variables. I don't like setting wildcards
SendEnv LANG LANGUAGE LC_* # and LC_ALL is disabled on purpouse.
SendEnv LANG LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION TERM TZ
# If the server doesn't reply in three "pings", connection is dead. # If the server doesn't reply in three "pings", connection is dead.
# Defaults to 3 anyway, but I add it here for clearity and # Defaults to 3 anyway, but I add it here for clearity and

View File

@ -6,10 +6,9 @@
# where some comments are took. Some options look like I don't want to # where some comments are took. Some options look like I don't want to
# change them to get updates when defaults change. # change them to get updates when defaults change.
# Allow the client to send preferred locales. # Allow the client to send needed environment variables. I don't like
# LC_ALL is intentionally missing as it's only for testing purpouses # setting wildcards and LC_ALL is disabled on purpouse.
# (set it on the server, not in client if it's seriously needed). AcceptEnv LANG LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION TERM TZ
AcceptEnv LANG LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION
# IPv4 & IPv6 # IPv4 & IPv6
AddressFamily any AddressFamily any