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

Hi,

This is v2. Just a single patch here. This does 2 dependent things:

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!

## Changelog

Link v1: https://lore.gnuweeb.org/gwml/[email protected]
v1 -> v2:
  - Really disable PasswordAuthentication (comment from Alviro).
  - Add Alviro's public key.

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 |   3 +
 3 files changed, 139 insertions(+), 3 deletions(-)
 create mode 100644 etc/ssh/sshd_config
 create mode 100644 ssh_keys/authorized_keys

-- 
Ammar Faizi


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

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

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

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