MCPcopy Create free account
hub / github.com/HoneyLLM/cli2ssh / Session

Struct Session

internal/args/args.go:13–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11)
12
13type Session struct {
14 User string
15 Host string
16 Port string
17 Command string
18 Subsystem string
19 PublicKey string
20 RemoteAddr string
21}
22
23func NewSession(s ssh.Session) *Session {
24 user := s.User()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected