In the active sentence I know him, the subject is I, the verb is know, and the object is him. In the passive, the object becomes the subject, giving He. For the verb know, idiomatic English uses the preposition to with the passive form, producing He is known to me, not by me, with me, or near me.