Do you have a question? Post it now! No Registration Necessary. Now with pictures!
December 1, 2004, 12:53 am
rate this thread
I'm running banners on my servers via /etc/sshd_config banners. This
gets highly annoying when I scp or sftp. I have many scripts that
perform scp's in order which ends up printing my banner way too many
times. Is there any way to supress this? I would like banners for
ssh but not scp/sftp. Another issue is the fact that I have to have
the banner display "before" the login is complete. ie) /etc/motd won't
Re: ssh banners OpenSSH_3.6.1p2
Newer OpenSSH's allow the banner to be suppressed with "ssh -q" aka
"sftp -o LogLevel=QUIET".
If upgrading isn't an option, then you can redirect either stderr or stdin
(I forget which it is) to /dev/null.
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum