Link to home
Start Free TrialLog in
Avatar of pok040600
pok040600

asked on

SSH Banner

Can anyone tell how to config for SSH telnet login banner?

I am using PUTTY to connect to SSH on Solaris 2.6.

Thanks.
pok
Avatar of Otetelisanu
Otetelisanu

For login banner is the file (for telnet)
/etc/issue

File Formats                                             issue(4)

NAME
issue - issue identification file

DESCRIPTION
The file /etc/issue contains the issue or project  
identification  to  be  printed as a login prompt. issue is an ASCII file that is read by program getty  and then written to  any terminal spawned or respawned from the lines file.

FILES
     /etc/issue

SEE ALSO
     login(1)

SunOS 5.7            Last change: 3 Jul 1990                    1

(Open)SSH only supports /etc/motd, see man sshd.
To enable it change /etc/ssh/sshd_config as follows:

   PrintMotd yes
ASKER CERTIFIED SOLUTION
Avatar of milamber_2000
milamber_2000

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No comment has been added lately, so it's time to clean up this Topic Area.
I will leave a recommendation for this question in the Cleanup topic area as follows:

- Answered by milamber_2000

Please leave any comments here within the next 7 days

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

tfewster
Cleanup Volunteer
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange