Following the line of the keel, from bow to stern
In a line parallel to the keel.
in the lengthwise direction of a ship running from stern to stem
Parallel to the ship's centerline.
Terms that refer to the front and rear of the ship.
In line with the keel, lengthways of the ship.