I use WinSSHd on several Windows servers. To access them from my Mac (and presumably, just about any Unix-based terminal), I need to set the
TERM environment variable to
TERM=cygwin ssh someserver.com
I can also use the
.ssh/config to set certain defaults for that server, such as a different user and non-default port:
host someserver.com User SomeDifferentDude Port 22222
However, I apparently can't set environment variables that way. I haven't found anything in
man ssh_config, anyway. Is there a way to set the default terminal emulation (and/or any environment variable) per host?