I have a fresh installation of OpenSSH. In the /etc/ssh/sshd_config I have the following entry:
Banner /etc/issue.net
I have restarted the SSH deamon using: sudo /etc/init.d/ssh restart. Now, whenever I try to run ssh user@localhost it works just fine, except it doesn't show the pre-login banner.
What can cause this problem?
/var/log/messagesor/var/log/secure(depending on your distro)?/var/log/syslog(Ubuntu 14.04) doesn't show anything related to SSH.