complete version of known_hosts.sh generator