| 164 | } |
| 165 | |
| 166 | type sshClient struct { |
| 167 | w command.StreamResponder |
| 168 | l log.Logger |
| 169 | cfg command.Configuration |
| 170 | remoteCloseWait sync.WaitGroup |
| 171 | credentialReceive chan []byte |
| 172 | credentialProcessed bool |
| 173 | credentialReceiveClosed bool |
| 174 | fingerprintVerifyResultReceive chan bool |
| 175 | fingerprintProcessed bool |
| 176 | fingerprintVerifyResultReceiveClosed bool |
| 177 | remoteConnReceive chan sshRemoteConn |
| 178 | remoteConn sshRemoteConn |
| 179 | } |
| 180 | |
| 181 | func newSSH( |
| 182 | l log.Logger, |
nothing calls this directly
no outgoing calls
no test coverage detected