Accepted format: [<USER>@]<HOSTNAME>[:<PORT>]
Inspired by slateci/slate-catalog#337, built off of #130