On the shift cable shown, it exits the transom shield thru that hose, then goes another 2 feet to the shift assembly at the back of the drive.
The shift cable should be at least 2, maybe 3 feet longer in a VP than the throttle cable
On a Mercruiser with an upper cable and a lower cable, then...