before login on Console | issue | |
---|---|---|
Link | vi /etc/issue | |
Before login SSH session | After login | motd|
modify sshd_config | labuser@ubuntu1804:~$ more /etc/ssh/sshd_config | egrep "JLK|Banner" # JLK Modif added banner #no default banner path Banner /etc/ssh/sshd-banner | |
create /etc/ssh/sshd-banner | labuser@ubuntu1804:~$ more /etc/ssh/sshd-banner ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ username: labuser ~~~~ ~~~~ password: juniper123 ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
After login | motdĀ ( documentation: Link ) | |
link | sudo sh -c 'echo "Welcome Ubuntu User" > /etc/motd' | |
...