To change the message displayed before login, edit /etc/ssh/sshd_config :

$ sudo vi /etc/ssh/sshd_config

and add (or uncomment) the line

Banner /etc/banner

/etc/banner can be whatever file you want. Then edit /etc/banner

$ sudo vi /etc/banner

and put in whatever welcome message you want:

.

            |                      

. . . .-. | .-..-. .–.–. .-. \ \ / (.-' |( ( )| | |(.-'

`' `'   `--'` `-'`-' '  '  ` `--'

You’ll probably need to restart sshd before your changes take effect:

$ sudo /etc/init.d/ssh restart

To change the message displayed after login, edit /etc/motd :

$ sudo vi /etc/motd

and enter the message you want to dis

 
ejemplos/ssh.txt · Última modificación: 2009/01/02 12:31 por fpereira
 
Excepto donde se indique lo contrario, el contenido de esta wiki se autoriza bajo la siguiente licencia:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki