Description
When working with a variety of SSH client/server software, it can be useful to expose the supported Key Exchange, MAC, and Ciphers for both client and server side. Primarily this allows someone to answer questions like, "if we remove support for X, will any of our clients fail?."
When looking into this, initially I thought we could expose this on the ConnMetadata
interface (*sshConn
implements this), and additionally extend ssh.Client
with a new GetConnMetadata() ConnMetadata
function which returns the underlying *sshConn
.
This would involve exposing the values stored in the server/client *kexInitMsg
on up, possibly through new fields on *handshakeTransport
as clientInitMsg *kexInitMsg
and serverInitMsg *kexInitMsg
.
Is this something that would be appropriate for a PR or are other implementation options preferred here?
Metadata
Metadata
Assignees
Type
Projects
Status