Secure-Compliance-Solutions-LLC / GVM-Docker

Greenbone Vulnerability Management Docker Image with OpenVAS
https://securecompliance.gitbook.io/projects/
MIT License
246 stars 91 forks source link

[Bug] sshd_config does not exist #234

Closed tigattack closed 3 years ago

tigattack commented 3 years ago

Describe the bug /sshd_config seems to not exist in the image(s).

Unless I'm mistaken, I also can't see it in this repository, so I imagine it's just been overlooked during some of the rearchiecture which has been going on recently.

To Reproduce Steps to reproduce the behavior:

  1. Launch image e7f5b9a079d8 (securecompliance/gvm:21.4.2-v1-data)
  2. Wait for supervisord to attempt to launch OpenSSH server
  3. See error

Expected behavior

I would expect OpenSSH Server to launch and sshd_config to exist.

Screenshots Log snippet

gvm    | Starting OpenSSH Server...
gvm    | chpasswd: password for 'gvm' changed
gvm    | mv: cannot stat '/sshd_config': No such file or directory
gvm    | 2021-07-24 15:14:00,567 INFO exited: init (exit status 1; not expected)

Host Device:

Image in use:

Additional context

Dexus commented 3 years ago

You are Right I'm missed to copy it into the dockerfile.