ssh to windows, terminal doesn't work.

Ingolf Steinbach ingolf.steinbach at gmail.com
Mon Sep 24 16:35:22 UTC 2018


Am Sa., 22. Sep. 2018 um 05:04 Uhr schrieb Peter Silva <peter at bsqt.homeip.net>:
> I enabled ssh server on a windows desktop, and I can now ssh to it from my ubuntu laptop, and run cmd.exe, powershell and bash (WSL) which all work fine, except that in none of them do terminal applications work properly.

Peter, can you give some more information on your environment:
1. "echo $TERM" on your ubuntu laptop
2. is there a concept of TERM variable in your windows environment?
3. "echo $TERM" in the bash on Windows (started via ssh) -- does it
match the output of item 1 above? (usually your ssh client should
forward that setting to the remote server so that applications running
there will use control sequences which are appropriate for your local
terminal)
4. does explicitly setting the TERM environment variable in your
(remote) bash to the same value as in item 1 help?
5. maybe you are missing some terminal support files/packages on
windows, so the remote applications would not know how to deal with
your (local) terminal?

Kind regards
Ingolf




More information about the ubuntu-users mailing list