Use ssh config to resolve hostnames. Fixes #186