The Match directive in SSH (Secure Shell) configuration files is used to apply specific settings conditionally based on criteria such…