Hi, firstly, thanks for your effort with maintenance of a great project. It's unbelievable how difficult is to find just a Git server for docker.
I want to start discussion in this issue about configuration secure by default. There is a popular way to gain access to the server with SSH - by brute force login (with tools such as: hydra). I'm aware of few mitigations (in sshd_config):
- disable root login:
PermitRootLogin no
- use key only authentication:
PasswordAuthentication no and PubkeyAuthentication yes.
I think that, they should be set by default, because not all users may be aware of the problem. But this is a breaking change.
There are more options which looks interesting (such as limiting time of automatic disconnect), but I'm not sure if they are well suited for most people.
Hi, firstly, thanks for your effort with maintenance of a great project. It's unbelievable how difficult is to find just a Git server for docker.
I want to start discussion in this issue about configuration secure by default. There is a popular way to gain access to the server with SSH - by brute force login (with tools such as: hydra). I'm aware of few mitigations (in
sshd_config):PermitRootLogin noPasswordAuthentication noandPubkeyAuthentication yes.I think that, they should be set by default, because not all users may be aware of the problem. But this is a breaking change.
There are more options which looks interesting (such as limiting time of automatic disconnect), but I'm not sure if they are well suited for most people.