I would like to add a preliminary authentication stage to an openssh server running on linux. Ideally authentication would happen before even getting to the openssh application itself, or at least before handshakes etc. I will use one-time passwords, so it can even be done over plain text connection.
Is there some standard way I could do this? Thanks.