Deck handrail bracket
You need to have a graspable (grippable) handrail... in other words something that you can get your hand around and hold onto if you fall off the steps.  The 2x6 is too big for your hand to grab around and does not qualify.

Standard handrail brackets usually look something like this:



Also see this article (Deck Stair Handrails) for a picture of a handrail that is a one-piece design: