Files
teleport/lib/client
Ev Kontsevoy b834c1020c Better error handling for connecting via reverse tunnel
Prior to this fix Teleport would not relay proxy errors from remote
clusters.

In other words, the following command:

```
$ tsh --cluster=remote ssh non-existing-host
```

Would print an error like:
"Cannot find a remote tunnel connection. ssh subsystem request failed"

Insead, it should say something like:
"dial non-existing-host error: no such host"

This commit fixes it. It works by:

- Sending net.Dial() error from the remote proxy back via stderr over
  reverse tunnel.

- Carefully handling this error to distinguish it from tunnel-related
  network errors.
2016-12-18 21:30:24 -08:00
..
2016-10-22 12:54:16 -07:00
2016-11-03 20:06:43 -07:00
2016-03-14 15:49:27 -07:00
2016-06-16 18:58:29 -07:00
2016-10-22 12:54:16 -07:00
2016-05-07 21:51:35 -07:00
2016-10-22 12:54:16 -07:00