On 2010-02-17 18:18 +0100, Nuno Magalhães wrote: > If i telnet (or use a browser!) to my sshd, i get this string: > SSH-2.0-OpenSSH_5.1p1 Debian-5 > even before i login. > > My /etc/motd is empty and i've also tried adding a "Banner > /etc/ssh/banner" line to /etc/ssh/sshd_config (nd creating the > according empty file), and HUPing sshd. I still get this line. > > I'm sure this is something obvious but i can't seem to pin it down; > short of messing with the code is there a way to remove this message?
No. The code is in the sshd_exchange_identification() function in sshd.c, if you're interested. Newer versions of openssh-server (starting with 1:5.2p1-2) have a DebianBanner option that allows you to remove the Debian revision from this string. Sven -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87zl37pwz2....@turtle.gmx.de