Thanks. I'd found the usage of them in the py file and the scp works well with the private key, i.e. id_ecdsa, after I use the chmod to change the mode of the key on the cluster submission node. However, with the same private key, ssh command keeps asking me to put the password along with the OTP. I'd tried something but still got the request of psw and otp.
Can you tell me what might be useful to this problem?