Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
x/crypto/ssh: expose channel IDs #19568
Currently there is no way to identify channels. Sessions can be identified by the
this has been discussed before, but the short answer is: no, the local/remote IDs can't be used for this.
The meaning of those IDs is tied to the map in which they are administrated. The map is protected by a mutex
so you can't use those IDs unless you also hold the mutex.