Solution (source code)

= Solution

The matrix $B$ fixes the second coordinate and satisfies the hyperbolic-generator relation on the first and third coordinates. Therefore
$$
\boxed{e^{xB}=\begin{pmatrix}
\cosh x&0&\sinh x\\
0&1&0\\
\sinh x&0&\cosh x
\end{pmatrix}}.
$$