How to disable system info at ssh login:
login as: xyv Ubuntu 13.10 xyv@XXXXXXX's password:
I think this is big problem. I would like to know system info only after password verification.
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.Sign up to join this community
@rjgonza was correct. Make sure you specify Banner none in your /etc/ssh/sshd_config. Furthermore, if you're not seeing the system info after the password is accepted, make sure that you have the configuration statement "PrintMotd yes" in that same file. Don't forget to restart the sshd service after you modify the configuration file.
If you're concerned that you're leaking information that will make your machine more vulnerable to attacks, you have two real options.
You could just turn off the banners as @etherfish suggested, or you could lie in the banner by editing /etc/issue.net, then adding a line
to your sshd configuration.
I'd put in something like
SunOS 5.10 Unauthorized access is forbidden.
Let the script kiddies waste their time using SunOS attacks :-)