[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sshd_config file



I think the Banner tag is meant for text files. I assume you're trying to
display some information that changes every so often. I see two ways of
doing this:

1) set up a cron job to run every so often and update the file and set the
"Banner" tag to the file.
2) configure sshd to run with TCPwrappers. Then, in inetd (or xinetd),
tell it to run a script whenever a connection comes in on port 22. This
script will update the Banner file, and then run sshd.

Note: If you use ssh a lot, the second option isn't a good one.

But maybe you should also consider a static message. Whatever info you
want to generate in the Banner field is information that can be leaked
out to malicious users.

		-rishi

On Sun, 2 Jun 2002, Ryan Goss wrote:

> In the sshd_config file using the Banner tag, is there a way that I can load
> a script or binary that will display a different message at the login
> screen?  If I try:
> Banner /usr/local/*some binary*
> I get "?ELF" as the text shown at the login (same as if you less a binary).
> Is there an option I can use where it will execute the binary?
>
> --Ryan Goss <rgoss@cs.umn.edu>
> Systems Staff
>
>
> --
> To UNSUBSCRIBE, email to debian-security-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>


-- 
To UNSUBSCRIBE, email to debian-security-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: