()
| 78 | } |
| 79 | |
| 80 | func (c *SecureShell) Close() error { |
| 81 | for _, listener := range c.localListeners { |
| 82 | listener.Close() |
| 83 | } |
| 84 | return c.secureClient.Close() |
| 85 | } |
| 86 | |
| 87 | func (c *SecureShell) Connect(username string, passcode string, appSSHEndpoint string, appSSHHostKeyFingerprint string, skipHostValidation bool) error { |
| 88 | hostKeyCallbackFunction := fingerprintCallback(skipHostValidation, appSSHHostKeyFingerprint) |
nothing calls this directly
no test coverage detected