openssh-unix-dev Digest, Vol 9, Issue 16

Darren Tucker dtucker at
Sat Jan 17 12:55:38 EST 2004

Jeremy McMillan wrote:
> On Solaris, if you create a banner file /etc/issue it will do what I 
> think you want. However, it comes in on stderr from your ssh client, so 
> you need to do complicated things to get clean output from stderr of 
> remote commands.
> Does anyone know if this is different from the banner option in the 
> sshd_config that everyone's been talking about?

The /etc/issue file is used by Solaris' own services (eg login).  The 
Banner directive is used by sshd to send the contents of the specified 
file to the client for display.

You can use the same file for both purposes (ie put "Banner /etc/issue" 
into sshd_config) or you can use a different file to send a different 
message to ssh users.

Darren Tucker (dtucker at
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
     Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

More information about the openssh-unix-dev mailing list