Collection status over ssh

Having ssh options set to something like:

STATIC_OPTIONS="--ssh-options='-oProtocol=2 -oIdentityFile=/path/to/file'"

causes an error when doing a collection status or list files:

duplicity: error: no such option: -o