Difference between revisions of "Linux: SSH"

From RHS Wiki
Jump to navigation Jump to search
(Created page with "== Config file == sudo nano /etc/ssh/sshd_config")
 
Line 1: Line 1:
 
== Config file ==
 
== Config file ==
 
sudo nano /etc/ssh/sshd_config
 
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.

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.