How to configure computer with two ProxyJump

I need access a computer which needs two ProxyJump.

mycomputer ->A->B->C.

I can directly ssh to A and need one ProxyJump to B and another ProxyJump to C. I have set all computers for A, B and C with aiida and ProxyJump. However, it seems not working. Could anyone give some suggestions? Thanks!

Hi Dou, do you manage to make it work from standard ssh from the terminal? Can you share the relevant parts of your ~/.ssh/config?

And can you be a bit more specific on how you set up the AiiDA computers? Can you share the files generated by
verdi computer export setup <COMPUTERNAME>
and
verdi computer export config <COMPUTERNAME>
for the 3 computers (double checking that there is nothing confidential in them)?