From 62d928dbd49fe596adfda9a2cb4b6ea72c2f5f15 Mon Sep 17 00:00:00 2001 From: bagajjal Date: Mon, 12 Apr 2021 12:40:35 -0700 Subject: [PATCH] Updated TTY PTY support in Windows OpenSSH (markdown) --- TTY-PTY-support-in-Windows-OpenSSH.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TTY-PTY-support-in-Windows-OpenSSH.md b/TTY-PTY-support-in-Windows-OpenSSH.md index 3860a19..ee12f32 100644 --- a/TTY-PTY-support-in-Windows-OpenSSH.md +++ b/TTY-PTY-support-in-Windows-OpenSSH.md @@ -79,7 +79,7 @@ a) while executing an unknown command (abcdef) in the powershell, the last line # Implementation details ## PTY -Windows OS does not have inbuilt support for a [pseudoterminal](https://en.wikipedia.org/wiki/Pseudoterminal). +Windows versions before Windows 10 1809 did not have built-in support for a [pseudoterminal](https://en.wikipedia.org/wiki/Pseudoterminal). Windows version of OpenSSH server implements a [VT100](https://en.wikipedia.org/wiki/VT100) PTY by intercepting [Windows Console](https://msdn.microsoft.com/en-us/library/windows/desktop/ms682055(v=vs.85).aspx) events. This is implemented in ssh-shellhost.exe, connected to sshd via [std i/o](https://en.wikipedia.org/wiki/Standard_streams). At a high level, ssh-shellhost.exe acts as an intermediary between sshd and a Windows console applications performing the following: - interprets incoming VT100, processes and calls Windows Console IO