Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2007 09:12:35 -0500
From:      Chris <racerx@makeworld.com>
To:        <takhoos@hotmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: SSH login banner?
Message-ID:  <20070926091235.6399b660@localhost.localdomain>
In-Reply-To: <BAY124-W764F3E687FA99001F6968AAB00@phx.gbl>
References:  <20070925150058.J79029@dogmatix.home.rakhesh.com> <46F910EE.6070005@cyberleo.net> <20070926145429.B65660@dogmatix.home.rakhesh.com> <BAY124-W764F3E687FA99001F6968AAB00@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 26 Sep 2007 09:15:38 -0400
<takhoos@hotmail.com> wrote:

> I need to apply an SSH user agreement policy so users agrees to the
> AUP _before_ they login.  Everything I read puts the police on the
> screen after login.   Any ideas?  --Joe

Have a look under /etc/sshd/

There is an sshd conf file. Open it, look for Banner.
I created a /etc/welcome.msg  and put that location within the conf
file.

Restart sshd and viola.

Now, wasnt this easier then someone telling you to have a look at some
man page?!

-- 
Best regards,
Chris
Registerd Linux user number 448639



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070926091235.6399b660>