How to prevent ssh response?

If I execute:

$ ssh osmc@ip pwd
OSMC: Open Source Media Center

How to prevent “OSMC: Open Source Media Center” from showing?

Try editing /etc/

Is this message displaying before you log in?

CC @DBMandrake

Editing /etc/ will work intermittently but we update base-files-osmc regularly and this will get overwritten.

The behaviour to change exposing the MOTD before login is in the SSH config file


Comment out the line ‘Banner /etc/’ in /etc/ssh/sshd_config.

Note that this change might get overriden if we update ssh-app-osmc.

I don’t use password for login (private/public keys), so I cannot say when it happens.

After removing banner in ssh do configuration, the response has gone.