Hi. On Tue, Jun 01, 2021 at 10:21:42AM -0400, Greg Wooledge wrote: > (I am not aware of any method of overriding TERM on a per-host basis > in .ssh/config but if such a method *does* exist, it would be far better > than this shell function hack.)
There's a hack, but it's not pretty, and it has its share of limitations: Host server Hostname server RemoteCommand TERM=xterm $SHELL RequestTTY yes A proper solution - [1] is kind-of sort-of made its way to the upstream, but it's not included in Debian yet. [1] https://github.com/openssh/openssh-portable/pull/224 Reco