golang.org/x/crypto/ssh.Client.NewSession
third-partyThe 8081st most-called third-party method by production calls. Called 220 times across 46 modules; 77 of those run outside tests and generated code.
No change in production calls since 2026-W48.
- prod calls
- 77
- non-test, non-generated
- all calls
- 220
- total callsites
- modules
- 46
- distinct callers
- in loop
- 0%
- of prod calls
- in tests
- 65%
- 143 calls
- resolved
- 100%
- to a known target
resolution mix
How each call resolves
How each call was attributed. Only resolved kinds, where the target function is known, count toward the ranking. Interface dispatch and unresolved receivers are reported separately and never guessed. Read the taxonomy →
- Concrete method100%A method on a value whose type is known exactly.
- Embedded method<1%Reached through an embedded type.
who calls this
Notable callers
Production calls into Client.NewSession from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 19 25%
- Terraform 3 4%
- Tailscale 2 3%
- Cilium 1 1%
- HashiCorp 1 1%
where it's called
Callsites in the wild
12 representative callsites of 220, prioritizing in-loop and non-test usage. We link to source, never display it.
-
coder/coder @v0.27.3
in loop test - in loop test
-
x/crypto @v0.59.0
ssh/test/session_test.go:84
in loop test - in loop test
-
tailscale.com @v1.106.1
ssh/tailssh/session_termination_test.go:73
in loop test -
coder/coder @v0.27.3
in loop test - in loop test
-
x/crypto @v0.59.0
ssh/session_test.go:382
in loop test - in loop test
-
tailscale.com @v1.106.1
ssh/tailssh/ssh_shutdown_unix_test.go:167
in loop test -
coder/coder @v0.27.3
in loop test - in loop test
top callers
The modules that reach for it
The modules that call Client.NewSession most in this snapshot.
- github.com/tailscale/tailscale2913%
- golang.org/x/crypto2913%
- tailscale.com2913%
- github.com/netbirdio/netbird2813%
- github.com/coder/coder209%
siblings
More from golang.org/x/crypto/ssh
The other most-called members in this package. See all →