rewrite gather_host_keys using ssh-keyscan

Change-Id: I4fdbb7436d5e4c4d8864b7427a6b0f15dadb3d4d