How to copy file while Rerun with SSH?

While I use the feature to “Rerun with SSH”, I need to copy some file from container to my laptop. About a year ago, I could use “scp -P <port_number> <ip_address>:<path_to_file> .” from my laptop to get it. But now I cannot do it anymore. Did something change and block this? If so what’s the recommended way?

Try adding your ssh key to the job. Checkout this doc on how to do it