-
Notifications
You must be signed in to change notification settings - Fork 745
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MotD duplicated when called from PowerShell Core #1253
Comments
If I use a build introduced in PowerShell/openssh-portable#338 then PowerShell 5.1 is also affected. Shall this hold that PR back? |
I see this on roughly 80% of connections to all servers. It's probably a clientside buffer reuse issue, not a server issue. |
@bagajjal PuTTY and the SSH from Git Bash works with the same servers without issue. If you are not able to reproduce it, would you like a There is some interesting issue with one of the servers. Part of MotD is duplicated. Not sure if this helps debugging. |
@FranklinYu - After multiple retries, I am able to repro the issue. |
Any updates? |
I get a random nr of motd between 1-3. |
This also happens when the alternate screen buffer is exited (like when vim is closed.) |
Fixed via: PowerShell/openssh-portable#426 |
Please answer the following
If it is a terminal issue then please go through wiki
https://github.com/PowerShell/Win32-OpenSSH/wiki/TTY-PTY-support-in-Windows-OpenSSH
"OpenSSH for Windows" version
7.7.2.0
Server OperatingSystem
Ubuntu 16.04.5 LTS (Note: this issue doesn't seem to affect Ubuntu 18.04. Very weird.)
Client OperatingSystem
Windows 10 Enterprise
What is failing
MotD is displayed twice when calling from PowerShell Core 6.1.0. No such issue in PowerShell 5.1 from Windows 10.
Expected output
Display MotD once when logging in.
Actual output
Display MotD twice when logging in.
The text was updated successfully, but these errors were encountered: