The two lines are
\[L_1:\quad \frac{x+1}{7}=\frac{y+1}{-6}=\frac{z+1}{1},\qquad
L_2:\quad \frac{x-3}{1}=\frac{y-5}{-2}=\frac{z-7}{1}.\]
Step 1: Write the lines in vector form.
From the denominators, the direction vectors are
\[\vec b_1=7\hat i-6\hat j+\hat k,\qquad \vec b_2=\hat i-2\hat j+\hat k.\]
Points on the lines are obtained by setting the common ratio equal to 0:
\[A(-1,-1,-1)\in L_1,\qquad B(3,5,7)\in L_2.\]
Thus
\[\vec a_2-\vec a_1=\overrightarrow{AB}=(3-(-1))\hat i+(5-(-1))\hat j+(7-(-1))\hat k=4\hat i+6\hat j+8\hat k.\]
Step 2: Check whether the lines are parallel.
Since \(\vec b_1\) and \(\vec b_2\) are not scalar multiples, the lines are not parallel. The shortest distance is therefore
\[d=\frac{\left|(\vec a_2-\vec a_1)\cdot(\vec b_1\times\vec b_2)\right|}{|\vec b_1\times\vec b_2|}.\]
Step 3: Compute \(\vec b_1\times\vec b_2\).
\[
\vec b_1\times\vec b_2=
\begin{vmatrix}
\hat i & \hat j & \hat k\\
7 & -6 & 1\\
1 & -2 & 1
\end{vmatrix}
\]
\[
=\hat i\big((-6)(1)-(1)(-2)\big)-\hat j\big((7)(1)-(1)(1)\big)+\hat k\big((7)(-2)-(-6)(1)\big)
\]
\[
=\hat i(-6+2)-\hat j(7-1)+\hat k(-14+6)
=-4\hat i-6\hat j-8\hat k.
\]
Hence
\[|\vec b_1\times\vec b_2|=\sqrt{(-4)^2+(-6)^2+(-8)^2}=\sqrt{16+36+64}=\sqrt{116}=2\sqrt{29}.\]
Step 4: Compute the scalar triple product.
\[
(\vec a_2-\vec a_1)\cdot(\vec b_1\times\vec b_2)
=(4\hat i+6\hat j+8\hat k)\cdot(-4\hat i-6\hat j-8\hat k)
\]
\[
=4(-4)+6(-6)+8(-8)=-16-36-64=-116.
\]
Therefore
\[\left|(\vec a_2-\vec a_1)\cdot(\vec b_1\times\vec b_2)\right|=116.\]
Step 5: Find the shortest distance.
\[
d=\frac{116}{2\sqrt{29}}=\frac{58}{\sqrt{29}}=\frac{58\sqrt{29}}{29}=2\sqrt{29}.\]
So the shortest distance between the two lines is
\[\boxed{2\sqrt{29}\ \text{units}}.\]