Thomas Oliver Selfridge Jr., the commanding officer of the monitor USS Osage reported that the Confederates lined the high banks of the river and fired their rifles at the vessels as they passed within 100 yards .