SSH login message
Hello,
this is maybe a stupid question, but still im newbie and i like to ask. I'm interested .. how to change message that you get when you connect to the server via putty or other ssh client. I get some anoying messages, and i want to turn them off. Messages are something like this one Quote:
- s1cK - |
it-etch:~# cat /etc/ssh/sshd_config | grep issue
#Banner /etc/issue.net Edit /etc/issue.net for your message, then uncomment it in the sshd_config file.. although what you are describing sounds more like fortune , which is a package you can uninstall... |
fortune
If this is just the same message everytime you login... it sounds like it is from MOTD (message of the day).
You can see an example here and what file it is and thus how you could alter it: Code:
Last login: Tue Jan 15 22:49:52 2008 from Code:
root@server:~# updatedb && locate fortune Code:
root@server:~# cat /etc/ssh/sshd_config | grep PrintMotd Code:
root@server:~# cat /etc/ssh/sshd_config | grep PrintMotd |
Yup it is Fortune!
1. Uninstall Fortune with pkgtool 2. Remove bsd-games-login-fortune.sh from /etc/profile.d/ I just did that and everything works fine :) |
Thats ok if you have root access. If not you will have to ask admin to uninstall it.
|
All times are GMT -5. The time now is 03:09 PM. |