MCPcopy Create free account
hub / github.com/evilsocket/shellz / SSHSession

Struct SSHSession

session/ssh.go:23–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21)
22
23type SSHSession struct {
24 sync.Mutex
25 host string
26 proxy models.Proxy
27 config *ssh.ClientConfig
28 client *ssh.Client
29 session *ssh.Session
30 timeouts core.Timeouts
31}
32
33func NewSSH(sh models.Shell, timeouts core.Timeouts) (error, Session) {
34 err, cfg := sh2ClientConfig(sh, timeouts)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected