Magnetically-guided fast electrons in cylindrically-compressed matter