RSA function to update known_hosts