Allow for a port number to be included in the hostname for the known_hosts resource

I needed to specify a port number when adding a known_hosts entry, and it seems as though ssh-keyscan doesn't use ~/.ssh/config, so I figured allowing a port number to be included in the hostname for the resource would probably be the simplest way to do this.