Skip to content
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

OpenSSH double post of "motd" and "hostname" issue #1736

Closed
uservictor opened this issue Feb 18, 2021 · 5 comments
Closed

OpenSSH double post of "motd" and "hostname" issue #1736

uservictor opened this issue Feb 18, 2021 · 5 comments

Comments

@uservictor
Copy link

uservictor commented Feb 18, 2021

"OpenSSH for Windows" version
OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5
CMD.exe [Version:10.0.19041.546]

Server OperatingSystem
Raspberry Pi OS Lite [Release date: January 11th 2021]

Client OperatingSystem
Microsoft Windows [Version 10.0.19042.631]

What is failing

  1. While connecting to remote host I get double "motd" massage.
  2. While exit text editor nano (for example, in other cases it happens too) i got double post of connected hostname.

I use OpenSSH over the CMD.exe (not PowerShell.exe) and I get this behaviour/bug on every ssh seassion.
My CMD window have an fix window size and I run it alwas as administrator.

Please fix this, I market the double posts on the picture with red lines.
Have a nice day

@bagajjal
Copy link
Collaborator

bagajjal commented Mar 4, 2021

@uservictor - This is a rare scenario. The fix will be part of next OpenSSH release (v8.5) planned for this month.
Please validate if the attached private ssh.exe binary solves your problem.

ssh-prevent-duplicate-msg.zip

@bagajjal
Copy link
Collaborator

bagajjal commented Mar 4, 2021

Here is the PR.
PowerShell/openssh-portable#426

@uservictor
Copy link
Author

Thank you, i will try and report.

@uservictor
Copy link
Author

@bagajjal Today I run the new version that you providet me, the double "motd" posting is fixed (run ssh.exe 12 times) thank you for that.
But the second problem is still there "While exit text editor nano (for example, in other cases it happens too) i got double post of connected hostname" always as I exit "nano" page with Ctrl +X iI get double post of hostname.

Screenshot (2)

Have a nice day

@bagajjal
Copy link
Collaborator

@uservictor - I don't see the "double hostname" after exiting nano. My winver version is "[Version 10.0.19042.985]".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants