If I execute:
$ ssh osmc@ip pwd
OSMC: Open Source Media Center
/home/osmc
How to prevent “OSMC: Open Source Media Center” from showing?
If I execute:
$ ssh osmc@ip pwd
OSMC: Open Source Media Center
/home/osmc
How to prevent “OSMC: Open Source Media Center” from showing?
Try editing /etc/issue.net
Is this message displaying before you log in?
CC @DBMandrake
Editing /etc/issue.net 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
Sam
Comment out the line ‘Banner /etc/issue.net’ 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.
Thanks