1. vim /etc/ssh/sshd_config
Change the setting PrintLastLog
to "no"
Change the setting PermitRootLogin
to "yes"
2. vim /etc/motd
Change the content to what you want.
3. service sshd restart or /etc/init.d/ssh restart
1. vim /etc/ssh/sshd_config
Change the setting PrintLastLog
to "no"
Change the setting PermitRootLogin
to "yes"
2. vim /etc/motd
Change the content to what you want.
3. service sshd restart or /etc/init.d/ssh restart