Hide server banner

0 votes
asked 5 days ago by Marcelo (160 points)

Hi,

Is there a way to hide the server initial banner? Actually SSH-2.0-RebexSSH_1.0.6755.0

How works then property banner? at server.Settings.Banner.

Thanks, Marcelo

Applies to: Rebex SFTP

1 Answer

0 votes
answered 5 days ago by Lukas Pokorny (92,630 points)

Hi,

This string is not the banner. It's SSH software version string. Those strings are supposed to be used by SSH implementations to decide whether to apply various workarounds - see RFC 4253:

The 'softwareversion' string is primarily used to trigger compatibility extensions and to indicate the capabilities of an implementation.

This means that changing the string could trigger strange interoperability issues that would not occur otherwise. And for this reason, we decided not to make it customizable. This said, if you really need to change that string, please get in touch with us at support@rebex.net to discuss this.

(The FileServer.Settings.Banner property is used to specify a banner message to be sent to the client during authentication.)

...