-1

I want to set up or configure an OpenSSH server, to pass optional comments during Protocol Version Exchange and observe the client behavior as stated below.

RFC format:

SSH-protoversion-softwareversion SP comments CR LF

By default. I could see the following message from the server side during the protocol version exchange. Now I want to add comment string as stated in RFC.

24 6.145764 192.168.0.5 192.168.10.2 SSHv2 90 Server: Protocol (SSH-2.0-OpenSSH_7.1)

EX: SSH-2.0-OpenSSH_7.1 comment

How to add or configure the OpenSSH server to share comment string along with Proto and Software version during the exchange?

Prasad Bonthu
  • 131
  • 2
  • 13

1 Answers1

0

Recent versions of OpenSSH sshd support a configuration option VersionAddendum which sets the comment portion of the server version string. See the documentation here. The feature was added sometime in between OpenSSH 6.0 and 6.6.

Kenster
  • 23,465
  • 21
  • 80
  • 106