This is the first stable release for ContainerSSH 0.4.0.
This release fixes a bug where the OnShutdown hook would not be passed through to the backends and adds Keyboard-Interactive authentication support.
This release bumps the version to work aroung Go caching.
This release adds support for the new interactions in sshserver 0.9.16.
This release updates the integration to match the latest sshserver, auditlog, and log.
In order to use this library you will need two things:
- An audit logger from the auditlog library.
- A handler from the sshserver library to act as a backend to this library.
You can then create the audit logging handler like this:
handler := auditlogintegration.New(
backend,
auditLogger,
)
You can then pass this handler to the SSH server as described in the readme:
server, err := sshserver.New(
cfg,
handler,
logger,
)