Add check for unknown host before ping/ssh.