-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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 ssh_exchange_identification #19589
Comments
This is happening because of
I'll create a PR with a fix tomorrow. |
7 tasks
Yikes! Seems like way over-sharing to me. |
edolstra
added a commit
that referenced
this issue
Mar 31, 2017
AFAICT, this issue only occurs when sshd is socket-activated. It turns out that the preStart script's stdout and stderr are connected to the socket, not just the main command's. So explicitly connect stderr to the journal and redirect stdout to stderr. (cherry picked from commit 80b40fd)
edolstra
added a commit
that referenced
this issue
Mar 31, 2017
AFAICT, this issue only occurs when sshd is socket-activated. It turns out that the preStart script's stdout and stderr are connected to the socket, not just the main command's. So explicitly connect stderr to the journal and redirect stdout to stderr.
adrianpk
added a commit
to adrianpk/nixpkgs
that referenced
this issue
May 31, 2024
AFAICT, this issue only occurs when sshd is socket-activated. It turns out that the preStart script's stdout and stderr are connected to the socket, not just the main command's. So explicitly connect stderr to the journal and redirect stdout to stderr. (cherry picked from commit 80b40fd)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue description
If you have no hostkeys and try to connect to the openssh server, it will generate the keys but also send quite a bit of information to the client. I am not sure if this is an actual security issue but I wanted to bring it up just to make sure.
Steps to reproduce
ssh server -vvv
Technical details
nixos-version
, Ubuntu/Fedora:lsb_release -a
, ...) 17.03.git.69e01ff (Gorilla)nix-env --version
) nix-env (Nix) 1.11.4nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion
) "17.03.git.69e01ffM"The text was updated successfully, but these errors were encountered: