MCPcopy
hub / github.com/gliderlabs/ssh / User

Method User

session.go:26–26  ·  view source on GitHub ↗

User returns the username used when establishing the SSH connection.

()

Source from the content-addressed store, hash-verified

24
25 // User returns the username used when establishing the SSH connection.
26 User() string
27
28 // RemoteAddr returns the net.Addr of the client side of the connection.
29 RemoteAddr() net.Addr

Callers 6

TestPasswordAuthFunction · 0.65
TestUserFunction · 0.65
UserMethod · 0.65
mainFunction · 0.65
mainFunction · 0.65
mainFunction · 0.65

Implementers 1

sessionsession.go

Calls

no outgoing calls

Tested by 2

TestPasswordAuthFunction · 0.52
TestUserFunction · 0.52