The focus and vertex of a parabola y2=4ax are respectively (a,0) and (0,0).
The given parabola is y2=6x⇒a=23
Thus, the focus and vertex are respectively S≡(23,0) and V≡(0,0).

The equation of a line passing through a point (x1,y1) and having slope m is y−y1=m(x−x1)
If m is the slope of the chord through focus (23,0), equation of the chord is y−0=m(x−23)
⇒2mx−2y−3m=0
We know that the length of perpendicular from origin to a line ax+by+c=0 is a2+b2∣c∣
Given, the distance of the focal chord 2mx−2y−3m=0 from the vertex (0,0) is 25
⇒4m2+4∣−3m∣=25
⇒2m2+1∣−3m∣=25
⇒m2+1∣−3m∣=5
Squaring both sides, we get
⇒5m2+5=9m2
⇒4m2=5
⇒m=±25.