reverse_ssh icon indicating copy to clipboard operation
reverse_ssh copied to clipboard

Static SSH Client Version

Open raghavmishra opened this issue 6 months ago • 1 comments

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.

raghavmishra avatar Jun 11 '25 10:06 raghavmishra

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!

NHAS avatar Jun 11 '25 10:06 NHAS

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.

NHAS avatar Jul 20 '25 07:07 NHAS

Sure, thank you.

raghavmishra avatar Jul 22 '25 10:07 raghavmishra