Closed lonnywong closed 2 years ago
It works with:
conpty.Start(`ssh -p 1022 root@192.168.1.100`)
But, the output is not displayed correctly:
[2J[m[H]0;C:\Windows\System32\OpenSSH\ssh.exe[?25h]0;OpenSSH SSH clientLast login:
We should do that outside the pty.
I need the original output, so don't change it.
Here is my solution: https://github.com/trzsz/trzsz-go/blob/main/trzsz/pty_windows.go
It works with:
But, the output is not displayed correctly: