Welcome Text (ssh server)

ssh
bashrc

#1

Hi guys,

Anybody know where the welcome text is stored? It’s getting in the way of my oldschool ascii.


I know it’s not in .bashrc ! hehe


#2

try nano /home/username/.bashrc
because each user has their own bash file to use.


#3

yup, I replaced it with my own, assuming that’s where it was - apparently not…


#4

its in /etc/profile

edit: the distro ones are in /etc/update-motd.d/


#5

also see /root/.bashrc


#6

does the /root/.bashrc get called when a user logs in?


#7

No, it does not.

/usr/bin/lshell /etc/lshell.conf
as users get a modified one


#8

It’s not in .bashrc… see @RXWatcher’s post.


#9

thank you RXWatcher :slight_smile:


#10

you could do what i do and use /etc/issue.net

nano /etc/ssh/sshd_config
to enable it remove the # in front of banner
users don’t see the other stuff due to modifyed shell
<img