code: func IsHandshakeFailedError(err error) bool {
  	if err == nil {
  		return false
  	}
  	return strings.Contains(trace.Unwrap(err).Error(), "ssh: handshake failed")
  }
docs: // IsHandshakeFailedError specifies whether this error indicates
  // failed handshake