Early on I served as a Sideboy during a Change of Command ceremony at NAS Memphis.
Permission is given and the salute is returned.
A version of this is also used ashore, usually during a Change of Command, and usually at the entrance to the new Skipper's office building. I've also seen it used at the Squadron level in a hanger at the entrance to a podium area set aside for the welcoming speeches to a new Skipper. Following is his response. Marines have traditionally been included as Sideboys when available, but the tendency today is to include a cross-section of personnel drawn from the duty section. When a Marine detachment is embarked, they more commonly form as a detachment separate from Sideboys for honor ceremonies.