Opened 4 years ago

Closed 17 months ago

#52745 closed enhancement (fixed)

openssh ssh_config should send locale variable

Reported by: fweep (Jim Stewart) Owned by: Ionic (Mihai Moldovan)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: openssh


The default /opt/local/etc/ssh/ssh_config is empty (save for commented out options). It should include better default options. At a bare minimum, it should include the following:

Host *
    SendEnv LANG LC_*

This is a sensible default. It is the default on the OSX standard /etc/ssh/ssh_config, and is also the default in any normal Unix distribution. Without this present, locale information is lost when connecting to a server. It's even lost when doing "ssh localhost". For a history of how I diagnosed this, see

Change History (4)

comment:1 Changed 4 years ago by mf2k (Frank Schima)

Keywords: openssh ssh_config locale UTF-8 removed
Version: 2.3.4

comment:2 Changed 3 years ago by Ionic (Mihai Moldovan)

Owner: changed from macports-tickets@… to Ionic
Status: newassigned

comment:3 Changed 17 months ago by Ionic (Mihai Moldovan)

There is no default configuration. :)

We only ship example files that users are supposed to copy and modify to their needs.

This said...

comment:4 Changed 17 months ago by Mihai Moldovan <ionic@…>

Resolution: fixed
Status: assignedclosed

In 35ab1a7d5700e0866284f51878bef52bfcc1c0b5/macports-ports (master):

net/openssh: accept and send LANG, LC_* variables in default example files.

Fixes: #52745

Note: See TracTickets for help on using tickets.