Option to limiting sshd "banner" to interactive/password-auth/tty (or something along those lines) sessions

Thomas Binder binder at arago.de
Tue Feb 11 23:08:51 EST 2003


Hi!

On Tue, Feb 11, 2003 at 09:56:07AM +0100, Dag-Erling Smorgrav wrote:
> > What I'm actually after is avoiding printing out the banner
> > for non-interactive sessions, so that if I run "ssh somehost
> > ls" I don't get the login banner, but if I just type "ssh
> > somehost" I do (at least if I'veD gotta use password
> > authentication).
> 
> des at des ~% ssh localhost echo blah
> Password:
> blah
> 
> I don't see any banner?

Are you sure you've used protocol version 2? The banner is never
displayed with version 1.


Ciao

Thomas




More information about the openssh-unix-dev mailing list