Re: How to display login banner

Peter Gutmann <[email protected]>
Newsgroups gmane.comp.encryption.cryptlib
Message-ID <[email protected]>
"tt.ren.cn" <[email protected]> writes:

>I built an SSH Server with cryptlib. I have a question. How can I make the
>server display login banner before the client login? Is there an attribute to
>set the file of banner?

There's no support for it in the code because it's not something that anyone's
asked for before, but you could add it yourself, just grab a copy of RFC 4252
and send out the message in section 5.4 before the SSH_MSG_USERAUTH_* messages
get sent, e.g. in processServerAuth() in session/ssh2_auths.c.

Peter.

_______________________________________________
Cryptlib mailing list
[email protected] via Mail: [email protected]
Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/
http://news.gmane.org/gmane.comp.encryption.cryptlib
Posts from non-subscribed addresses are blocked to prevent spam, please
subscribe in order to post messages.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.