| 21 | ) |
| 22 | |
| 23 | type 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 | |
| 33 | func NewSSH(sh models.Shell, timeouts core.Timeouts) (error, Session) { |
| 34 | err, cfg := sh2ClientConfig(sh, timeouts) |
nothing calls this directly
no outgoing calls
no test coverage detected