The solution is beautifully minimal: press S, then P.
Here's why it works. Each press toggles the colour of the letter you hit and every letter directly adjacent to it — on becomes off, off becomes on. Your goal is to have all six letters lit. Pressing S flips the middle of the first trio, and P flips the middle of the second, which cascades through to leave everything on.