Security Basics mailing list archives

Re: OpenSSH 4.3 Banner Masking


From: Jeronimo Zucco <jczucco () ucs br>
Date: Thu, 28 Feb 2008 08:19:34 -0300

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

my_bit_bucket () yahoo com wrote:
| Is there a way to mask the banner displayed by OpenSSH 4.3 connecting to the service by SSH? For example, my test system displays "SSH-2.0-OpenSSH_4.3" when I "telnet [hostname] 22".
|
| Thanks very much!
|
| Regards,
| Bit Bucket
~ If you are compiling from source, you have to edit sshd.c and change the line:

snprintf(buf, sizeof buf, "SSH-%d.%d-%.100s\n", major, minor, SSH_VERSION);

Change SSH_VERSION string for what you want to show.

- --
Jeronimo Zucco
LPIC-1 Linux Professional Institute Certified
NĂșcleo de Processamento de Dados
Universidade de Caxias do Sul

http://jczucco.blogspot.com

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHxpjFWi/PuDd2cZARAr5bAJ0Yz474jzD62nL3xpijqbagtyaFpgCeJNEz
YbpTCckQ8DfokoWhaEqgUe8=
=c6Qo
-----END PGP SIGNATURE-----


Current thread: