Board Thread:Boruto Discussions/@comment-1926479-20180323224645/@comment-4904146-20180324174326

Jiraiya had a spy network that gave the third Hokage information outside of the village. Same with Itachi he may sure the Akatsuki wouldn't attack the village after he went rouge. So they are both shadow hokages. Jiraiya even say he didn't want to become the Hokage.