Remove file using OpenSSH

How can we remove all files from a remote directory with filenames starting with a known string except one particular file using ‘ssh’ command of openSSH package?:uhoh: