Static SSH Client Version
Would it be possible to introduce a flag that allows customisation of the SSH client version string? At the moment, it defaults to:
ClientVersion: "SSH-" + internal.Version + "-" + runtime.GOOS + "_" + runtime.GOARCH
From an OPSEC perspective, it would be beneficial to modify this value. Similar to how we currently have a --fingerprint flag for customising the server fingerprint, we could introduce a --client-fingerprint flag when generating the client via the link command. I'm happy to submit a pull request for this enhancement if it sounds reasonable.
Howdy, I dont believe that would break anything and is a great idea. I'll have to have a look around just to make sure but more than happy for it to be added in!
This is done and now on unstable. I've added an e2e test for it, but please check it out yourself to make sure it works.
Sure, thank you.