Is there a way to print a message before the login prompt or after the
login prompt but before the password prompt? This way unauthenticated
users can see a small message (like "Hello!").

I looked through the source for version 4.2 and couldn't find where the
login strings are constructed and sent (except in the client software
portion). Maybe all strings (like "login: ", where users enter username)
are generated and encrypted in the client software in response to server
packets (non-strings)? So is there even a way to send strings before
successful authentication?

Maybe this would violate the design of openssh?

Derek Frye

openssh-unix-dev mailing list