Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rescue EPIPE on connect in ssh transport
SSH will raise an Errno::EPIPE if the remote server closes the connection unexpectedly. This can happen, for example, in cases where a user has an improperly configured ProxyCommand for that host in `~/.ssh/config`. Adding EPIPE to the set of exceptions to rescue ensures that we raise Train::Transports::SSHFailed which callers of train my already be rescuing.
- Loading branch information