Possible to print message(s) before login?

Chris Rapier rapier at psc.edu
Tue Jun 13 04:59:17 EST 2006

I'm curious as to why you'd want to do this. Not that there is never any 
reasons to do this but I'm wondering why.

Derek Frye wrote:
> Hi,
> 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?

More information about the openssh-unix-dev mailing list