MOTD at SSH Login?
Marius Gedminas
marius at pov.lt
Wed Jun 27 13:03:16 UTC 2007
On Wed, Jun 27, 2007 at 03:50:57PM +0300, Marius Gedminas wrote:
> On Wed, Jun 27, 2007 at 03:38:58PM +0300, Amichai Rotman wrote:
> > When I use SSH to connect to my home I get an MOTD stating the licence etc.
> >
> > Where is that file?
>
> /etc/motd
>
> > I would like to edit it and place a more pesonal greeting.
I forgot to mention that this file is recreated on every boot, to show
the current kernel version accurately. You'll want to edit
/etc/motd.tail as well to make the changes persist.
Regarding the other answer you've received (about uncommenting the
Banner line in /etc/ssh/sshd_config): if you do that, you'll get an
extra message in addition to /etc/motd, probably displayed before it.
Marius Gedminas
--
Q: How many IBM CPU's does it take to execute a job?
A: Four; three to hold it down, and one to rip its head off.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070627/05281743/attachment.sig>
More information about the ubuntu-users
mailing list