🔒 Closed Paano maglagay ng server message sa ssh tuneling

Status
Not open for further replies.
Change the SSH Login Message

To change the message displayed beforelogin, 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 display
 
Change the SSH Login Message

To change the message displayed beforelogin, 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 display
ha diko magets sir? yung server message talaga mismo mapapalitan siya?
 
Status
Not open for further replies.

About this Thread

  • 12
    Replies
  • 1K
    Views
  • 6
    Participants
Last reply from:
Mr Zero

Trending Topics

Online now

Members online
409
Guests online
889
Total visitors
1,298

Forum statistics

Threads
2,275,099
Posts
28,960,643
Members
1,233,594
Latest member
baam
Back
Top