Difference between revisions of "Linux: SSH"

From RHS Wiki
Jump to navigation Jump to search
Line 2: Line 2:
 
sudo nano /etc/ssh/sshd_config
 
sudo nano /etc/ssh/sshd_config
 
== Welcome message ==
 
== Welcome message ==
Two files must be edited:
+
Two files must be edited:<br />
/etc/motd (message of the day)
+
/etc/motd (message of the day)<br />
 
/etc/ssh/sshd_config: Change the setting PrintLastLog to "no", this will disable the "Last login" message.
 
/etc/ssh/sshd_config: Change the setting PrintLastLog to "no", this will disable the "Last login" message.

Revision as of 22:55, 25 March 2015

Config file

sudo nano /etc/ssh/sshd_config

Welcome message

Two files must be edited:
/etc/motd (message of the day)
/etc/ssh/sshd_config: Change the setting PrintLastLog to "no", this will disable the "Last login" message.