Adding connection type and support for ssh host connections.