Results 1 to 6 of 6
Hello,
I am removing all banners from services, but ssh is giving me a hard time. I run Debian and the ssh is openssh v4.3. Is there any option to ...
- 07-31-2008 #1Just Joined!
- Join Date
- Jul 2008
- Posts
- 4
removing openssh banner
Hello,
I am removing all banners from services, but ssh is giving me a hard time. I run Debian and the ssh is openssh v4.3. Is there any option to remove the banner or i have to modify the source code to achieve that?
Thanks in advance.
- 07-31-2008 #2
Check the contents of your /etc/ssh/sshd_config for a line that looks something like:
Commenting it out and restarting the SSHD service should do it.Code:Banner /etc/ssh_banner
- 07-31-2008 #3Just Joined!
- Join Date
- Jul 2008
- Posts
- 4
that line was already commented out, by the sshd. Either way i had already changed the banner in that file (issue.net in debian) to a misleading name. Because that line was already commented out i don't think it could affect the banner shown, but thanks for the tip. Any other ideas?
- 07-31-2008 #4
What exactly is the banner saying? Knowing that, you can grep for the message and find out which file it's coming from.
- 07-31-2008 #5Just Joined!
- Join Date
- Jul 2008
- Posts
- 4
The banner is saying "SSH-2.0-OpenSSH_4.3p2 Debian-9etch2", but grep cannot find any file (in the ssh directory) including this specific string. Is it possible that the banner is hardcoded in the source code so i need to modify the code to remove it?
- 07-31-2008 #6
Take a look at the discussion on this bug report page.


Reply With Quote
