SSH key not working

You shouldn’t need most of those options - they are specified in the command that you copy from anvil. In my config, the only option I need is the one shown in the snippet above.

You can try passing those options via the ssh command to see what happens. e.g.:

ssh -p 2222 -i <path to your secret key> -l <your anvil login> anvil.works

or, to see more verbose debug info, add -v at the end.