public inbox for [email protected]
 help / color / mirror / Atom feed
* [PATCH server-a001 v1 0/1] Apply default SSH config and add public keys
@ 2022-04-15 17:15 Ammar Faizi
  2022-04-15 17:15 ` [PATCH server-a001 v1 1/1] " Ammar Faizi
  0 siblings, 1 reply; 6+ messages in thread
From: Ammar Faizi @ 2022-04-15 17:15 UTC (permalink / raw)
  To: GNU/Weeb Mailing List
  Cc: Ammar Faizi, Hazmi Alfarizqi, Alviro Iskandar Setiawan

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 <[email protected]> # @hzmi35
Cc: Alviro Iskandar Setiawan <[email protected]>
Signed-off-by: Ammar Faizi <[email protected]>
---

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-04-15 17:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-15 17:15 [PATCH server-a001 v1 0/1] Apply default SSH config and add public keys Ammar Faizi
2022-04-15 17:15 ` [PATCH server-a001 v1 1/1] " Ammar Faizi
2022-04-15 17:29   ` Alviro Iskandar Setiawan
2022-04-15 17:36     ` Ammar Faizi
2022-04-15 17:33   ` Alviro Iskandar Setiawan
2022-04-15 17:37     ` Ammar Faizi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox