-
-
Notifications
You must be signed in to change notification settings - Fork 141
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
Banner from backend OpenSSH server is not showing up through proxy #532
Comments
We ran
When we try to
|
i believe the reason is that sshpiper will not proxy anything unless a successful auth handshake with upstream it is an interesting issue |
this is impossible at the moment, sshpiper does not proxy upstream banner message to downstream. workaround: a tricky plugin
long run:
|
Hi, we use a group mechanism to deny users access to an upstream server if their account is on hold (or some other status condition). We put the user in the appropriate group and then configure opensshd to issue a banner message to that group and deny that group login access. This informs them of the condition on their account.
When we route through the ssh piper proxy that banner message is no longer displayed, although they are successfully denied access.
According to the sshd_config man page, the Banner is displayed before authentication is allowed.
I suspect that may be the source of our problem. That is, the connection being made from the proxy to the upstream may explicitly already be in the "authentication attempt" phase. Given we have a DenyGroup that may be the only configuration that applies to the connection between piper and the upstream.
I'm not fully versed in the ssh protocol, so may not understand the documentation correctly.
Here is our configuration stanza in OpenSSH.
Is there a setting in sshpiper that would facilitate passing this banner to the user?
The text was updated successfully, but these errors were encountered: