Step 1: Idea.
The shortest distance between two skew lines is the length of the projection of the segment joining any two points of the lines onto the common perpendicular direction. We find that direction from the two direction vectors, then project. This time we use the scalar triple product as a determinant.
Step 2: Collect the data.
First line: point $P(-1, -1, -1)$, direction $\vec d_1 = (7, -6, 1)$.
Second line: point $Q(3, 5, 7)$, direction $\vec d_2 = (1, -2, 1)$.
The vector joining the points is $\overrightarrow{PQ} = (4, 6, 8)$.
Step 3: Direction of the common perpendicular.
It is perpendicular to both lines, so it is parallel to $\vec d_1 \times \vec d_2$. Using the components:
\[ \vec n = \left(\,(-6)(1) - (1)(-2),\ (1)(1) - (7)(1),\ (7)(-2) - (-6)(1)\,\right) = (-4,\ -6,\ -8) \]
Check: $\vec n\cdot\vec d_1 = -28 + 36 - 8 = 0$ and $\vec n\cdot\vec d_2 = -4 + 12 - 8 = 0$. Good.
Step 4: Length of $\vec n$.
\[ |\vec n| = \sqrt{16 + 36 + 64} = \sqrt{116} \]
Step 5: Scalar triple product as a determinant.
The numerator of the distance formula is the absolute value of $[\overrightarrow{PQ}\ \vec d_1\ \vec d_2]$:
\[ \begin{vmatrix} 4 & 6 & 8 \\ 7 & -6 & 1 \\ 1 & -2 & 1 \end{vmatrix} = 4(-6 + 2) - 6(7 - 1) + 8(-14 + 6) \]
\[ = -16 - 36 - 64 = -116 \]
Step 6: Divide.
\[ d = \frac{|-116|}{\sqrt{116}} = \frac{116}{\sqrt{116}} = \sqrt{116} = 2\sqrt{29} \]
Since the triple product is not zero, the lines really are skew, so this distance is not zero.
Final Answer:
\[ \boxed{d = 2\sqrt{29}\ \text{units}} \]