Consolidate .gitignore
Fix cycling on known_hosts array