When accessing your remote Ubuntu server via SSH login, you are greeted by the following SSH welcome screen: Users typically encounter this screen when connecting to a server operating on Ubuntu or any Debian-based distribution. Having it initially is fine, but dealing with a lengthy SSH welcome text every server connection eventually becomes bothersome. In this guide, you'll discover how to turn off the SSH welcome message on your Ubuntu system. How to Hide SSH Welcome Message on Ubuntu The SSH welcome message are shown from the files located at path and settings defined in the file. /etc/update-motd.d/ /etc/ssh/sshd_config To suppress a welcome message, begin by and modifying the file with your preferred text editor. opening your terminal /etc/ssh/sshd_config $ sudo vim /etc/ssh/sshd_config Once the file is opened, find the field and set its value to . PrintMotd no Save and close the file, then proceed to edit the file. /etc/pam.d/sshd $ sudo vim /etc/pam.d/sshd Then find the following two lines: session optional pam_motd.so motd=/run/motd.dynamic session optional pam_motd.so noupdate Once you locate them, them down by placing in front of each line, as shown: comment # # session optional pam_motd.so motd=/run/motd.dynamic # session optional pam_motd.so noupdate The following is the look of the file after commenting on the above two lines: Save and close the file, restart your SSH server by running the following command: $ sudo systemctl restart ssh After completing the task, attempt to connect to your remote server, and you’ll notice that this time you won’t receive a welcome message, as shown: Also published . here