From owner-freebsd-questions@freebsd.org Mon Feb 17 16:53:56 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0E17F23EB81 for ; Mon, 17 Feb 2020 16:53:56 +0000 (UTC) (envelope-from dave.mehler@gmail.com) Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48LqnZ6zs0z437r for ; Mon, 17 Feb 2020 16:53:54 +0000 (UTC) (envelope-from dave.mehler@gmail.com) Received: by mail-wm1-x329.google.com with SMTP id p17so37744wma.1 for ; Mon, 17 Feb 2020 08:53:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=qQk7RsrgdB7vUUQvt4AiaxSVe1oAuBq3ZCitFajyUis=; b=MvbuGqiBev+59XcS8eOAslQlkz04TLsz8SYUfhf3yJekcTPgwor5OKTmrBD1scVaaW Rn2i+SbNAebv2C2ggYbUwWgjwfM22YjOuydY+1xMHp+SiT2CaB+XwjuOhx3Pt1hzTWnT gqvgCd/lduD8ElJsJCc263R0vQOQAnT8T8nI2eo4jgBi/EJl6atHePJIh8JjvXVIABUl p/c75gi12vXgEo1oIQ7ixa3f0dyawEWNSM2mLSQY96eCtWB66oEUEaoZcYhR5MLlTxEx EaF7Q447/pm6hn6rAgLgUlYBwrB/FS1XTf63+VmLi0wpx3VlKl9lEoMMzI2T72hebG4o wEzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=qQk7RsrgdB7vUUQvt4AiaxSVe1oAuBq3ZCitFajyUis=; b=odFdkUev1RPTylyQXIBgjy3a49NYjV/2iLS3D34AkigCPWAPkzkoJwi9Gy8jsztwcM 0IXSJ1HgCGWf6dPZALHIuBJsRayVM9Wvb64LxMoBqsQqpJek7yYNwFZiNKg428mJmdsx 5iyoKzAIxgTJCsmlbtiXle8H3YqB1urZ1THmqmCm+Zh9OtvqTF8jp11NuQpXw/lJDtiM rR7UsU5+nfsyW3WyRlt3ij6kN+I7HuXjVZQvjNYm0TqRPX3ThWePpSW23KyqiLqaXLoj c1/2z1FR3YAYUHim/dHYGz7TteTRuTYNezqqLTp/rUWYVDQQBZBSYP9OtjRB0j1OEgIV EcSg== X-Gm-Message-State: APjAAAW5KW45px1mBYZN4htWpsUPj3XLPNID0d95CtQWEx8Q0wO27W9E EFqBffTccOn73agnZaey8sgmf47yByYPgkbuNt0Euq+d X-Google-Smtp-Source: APXvYqxkspzVgRDqXkZTtGvDvXTrAPo7EzsUgvVpsCT7iFU1+WaXjXVFHmE5kVfRk1fjCoWHc7RtjH+dreJkftW7CbA= X-Received: by 2002:a1c:4e05:: with SMTP id g5mr22707411wmh.152.1581958431902; Mon, 17 Feb 2020 08:53:51 -0800 (PST) MIME-Version: 1.0 Received: by 2002:adf:dec5:0:0:0:0:0 with HTTP; Mon, 17 Feb 2020 08:53:51 -0800 (PST) From: David Mehler Date: Mon, 17 Feb 2020 11:53:51 -0500 Message-ID: Subject: tightening sshd, removing server identification banner To: freebsd-questions Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 48LqnZ6zs0z437r X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=MvbuGqiB; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of davemehler@gmail.com designates 2a00:1450:4864:20::329 as permitted sender) smtp.mailfrom=davemehler@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_TWO(0.00)[2]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE_FREEMAIL(0.00)[]; IP_SCORE(0.00)[ip: (-9.39), ipnet: 2a00:1450::/32(-2.42), asn: 15169(-1.68), country: US(-0.05)]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[9.2.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Feb 2020 16:53:56 -0000 Hello, I'm running FreeBSD 12.0. I'm atempting to tighten up my sshd configuration. I've got things where I want them, except for the connecting banner. I'm using sshaudit.com to test things and this is what it's saying for the banner setting: Banner:SSH-2.0-OpenSSH_7.8 FreeBSD-20180909 I would rather this be set to nothing or at most very minimal. Google and the sshd_config man page reveals the Banner and VersionAdendum options. I've set both to none. PrintMotd no #PrintLastLog yes #VersionAddendum none #Banner none Can anyone tell me how to get the results I am looking for? Thanks. Dave.