Author: John Prather
Date: 26-03-03 19:45
You can add a banner which should be displayed before the password prompt when people attempt to ssh into your server. It is not unlike old /etc/issue banners affecting telnet connections.
# vi /etc/ssh/sshd_config
Set a banner location, such as:
Banner /etc/banner
Make your banner file
# cat > /etc/banner
----------------
Authorized users
only beyond this
point!
----------------
^D
Restart sshd.
Now, when users ssh in, they should see something like this:
~ > ssh host
----------------
Authorized users
only beyond this
point!
----------------
Password:
(If you have disabled PAM by setting ChallengeResponseAuth to no, your password prompt may appear as user@host's password: instead of just Password:)
|
|