Hanuman is considered the eternal protector of Kashi, ensuring the safety and well-being of Lord Shiva's devotees in this sacred city.