Suppose we want to find the signed curvature of the catenary $$\gamma(t)=(t,\cosh t)$$where $\mathcal{k}_n=\frac{d\phi}{ds}$ and $\phi(s)$ is the turning angle of $\gamma$ such that$$\dot\gamma(s)=(\cos\phi(s), \sin\phi(s))$$
We proceed: $$s=\int_{s_0}^{s}|\dot\gamma(t)|dt=\int_{s_0}^s\sqrt{1+\sinh^2t}dt=\sinh t$$ so if $\phi$ is the angle between $\dot\gamma$ and the $x$-axis, then $$\tan\phi=\sinh t=s\implies\sec^2\phi\frac{d\phi}{ds}=1\implies k_s=\frac{1}{1+s^2}$$
Can someone explain how we proceed in that last line of calculation? Why does $\tan\phi=\sinh t=s? $