From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NO_DNS_FOR_FROM,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from integral2.. (unknown [36.80.217.41]) by gnuweeb.org (Postfix) with ESMTPSA id 8D34F7E39E; Fri, 15 Apr 2022 17:16:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1650042972; bh=42SyZBrrnA6hVrlb0izKwjRgHc//nvLgc030xILpdHE=; h=From:To:Cc:Subject:Date:From; b=DKBfGXq9JSofsqkhk/CazSpJIo5h8w5VNcrr9J7mjuNoOvVfQaMttcqbiawJrjmmd Cm1FxAO8Uky0gl96GNZr1qZoBxms3Ha1uWo+QmigNLpj3dNJLgjmJlLXklqLMY4reC 0nJMNaieaNvFg/Zr7W9P/FUXoiBEHi+8BREin4I1vfiDwbXM3p5v61aseyAvUEC4B/ kqW30OS5Y7wOJvqH3vNdi2eXMSQzUEToJ8fpwsNZ9sQUVyrI6gDqMmhiOnNlJLXTMh xHv1vieIwgQ+orbE+iCd3eicStSH1e4CjUxo0qkXeDBS7WMCxGK8rxapJ97IJmRh5v DlJEv7CSg6ANA== From: Ammar Faizi To: GNU/Weeb Mailing List Cc: Ammar Faizi , Hazmi Alfarizqi , Alviro Iskandar Setiawan Subject: [PATCH server-a001 v1 0/1] Apply default SSH config and add public keys Date: Sat, 16 Apr 2022 00:15:53 +0700 Message-Id: <20220415171554.35696-1-ammarfaizi2@gnuweeb.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Hi, Just a single patch here. 1) Set the default port to 48589, don't use port 22 since we will inevitably get brute-force SSH attack from random botnets. Even if it's not really a concern if we're using a private key for the auth, let's not spam our auth log with many login failed lines. 2) Add maintainers' SSH public keys to the root and main user. Let us login from the outside world with a key auth. Please review! Cc: Hazmi Alfarizqi # @hzmi35 Cc: Alviro Iskandar Setiawan Signed-off-by: Ammar Faizi --- Ammar Faizi (1): Apply default SSH config and add public keys Dockerfile | 16 ++++- etc/ssh/sshd_config | 123 +++++++++++++++++++++++++++++++++++++++ ssh_keys/authorized_keys | 2 + 3 files changed, 138 insertions(+), 3 deletions(-) create mode 100644 etc/ssh/sshd_config create mode 100644 ssh_keys/authorized_keys -- Ammar Faizi