AcceptEnv LANG LC_* vs available locales

Carson Gaspar carson at
Tue May 3 05:59:30 AEST 2022

On 5/2/2022 9:05 PM, Christoph Anton Mitterer wrote:

> Can you guys imagine to extend ssh, so that when output is connected to
> a terminal, it filters escape sequence (to a varying degree, depending
> on some configuration setting)?

Fundamentally, you're asking for a firewall for your terminal because 
you can't / won't run a secure client. Feel free to write one, but it 
neither should nor needs to be part of OpenSSH. It's just a PTY/TTY 
proxy, and would work just fine as a stand-alone app. If you really want 
to integrate it, a better target would be something like screen or tmux, 
so it protects against all malicious terminal apps.


More information about the openssh-unix-dev mailing list