sshd & login message
Is any way to send ALL users a message when they login using ssh?
|
In the /etc/ssh/sshd_config you have the next line "print motd no" in your case set it on "yes" and after this you must edit the "motd" file that is located in /etc/motd. And this is all.
|
"print motd no" doesnt exist! [ /etc/motd file exist ]
I add it and i restarted sshd and i get this error: Code:
/etc/ssh/sshd_config: line 80: Bad configuration option: print |
Write just like this "PrintMotd no" and set it to yes and see if it works.
I had a look in my sshd_config adn must be write like i have said above. Sorry for that i was in a hurry. CYA |
ok! worked - thx
|
ok i fell good that i could helped you.
|
All times are GMT -5. The time now is 10:33 AM. |