From owner-freebsd-questions@freebsd.org Mon Feb 17 15:47:11 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 993E123C86C; Mon, 17 Feb 2020 15:47:11 +0000 (UTC) (envelope-from ozgur@kazancci.com) Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48LpJZ0hkbz3PV5; Mon, 17 Feb 2020 15:47:09 +0000 (UTC) (envelope-from ozgur@kazancci.com) Received: from webmail.gandi.net (webmail14.sd4.0x35.net [10.200.201.14]) (Authenticated sender: ozgur@kazancci.com) by relay9-d.mail.gandi.net (Postfix) with ESMTPA id DAFFFFF80E; Mon, 17 Feb 2020 15:47:06 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Mon, 17 Feb 2020 18:47:06 +0300 From: =?UTF-8?Q?=C3=96zg=C3=BCr_Kazancci?= To: Shamim Shahriar Cc: "freebsd-questions@FreeBSD.org" , owner-freebsd-questions@freebsd.org Subject: Re: disabling "weak" algorithms in sshd In-Reply-To: References: Message-ID: <9c582a48795d9d91f62878ee1070e7e7@kazancci.com> X-Sender: ozgur@kazancci.com User-Agent: Roundcube Webmail/1.3.8 X-Rspamd-Queue-Id: 48LpJZ0hkbz3PV5 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of ozgur@kazancci.com designates 217.70.183.199 as permitted sender) smtp.mailfrom=ozgur@kazancci.com X-Spamd-Result: default: False [-3.82 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:217.70.183.192/28]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[kazancci.com]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_IN_DNSWL_LOW(-0.10)[199.183.70.217.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:29169, ipnet:217.70.176.0/20, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-1.42)[ip: (-4.24), ipnet: 217.70.176.0/20(-1.57), asn: 29169(-1.28), country: FR(0.00)]; FROM_EQ_ENVFROM(0.00)[] 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 15:47:11 -0000 Hello. I usually use: https://www.sshaudit.com - great tool&recommendations! First, check your sshd IP/port via sshaudit.com, note your "score", afterwards apply the suggestions listed, and re-check your server again: https://www.sshaudit.com/hardening_guides.html Best, Özgür On 17/02/2020 18:09, Shamim Shahriar wrote: > Good afternoon all > > I had been googling for quite some time and so far came up empty, maybe > someone can shed some light or point me to the correct direction. > > I have introduced a bunch of servers into an infrastructure that > previously > had zero FreeBSD system. They make use of Tenable Security Centre ( > tenable.com) which I believe used Nessus in the backend to identify > vulnerabilities. Amongst other things, it is picking up on > (tenable/nessus > plugin ID 90317) "SSH Weak Algorithms Supported) because the server > allows > "none" algorithms. > > Is there any way to "select" or "selectively disable" algorithms and > hashes > from sshd? According to various web sources, certain implementation on > certain distributions might have options to amend the list, but none of > the > examples I have found worked on my FreeBSD system. > > Would appreciate if someone could please point me to the correct > direction. > > Kind regards > SK > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"