The key seems to be placed in the expected location
Remove this from your startup script:
#!/bin/bash
there is no need that, it actually "markes out" the entire thing
I'm not seeing a extra_docker_shell_script in my clearml.conf generated by clearml-agent init like in this guide
That's with the key at
/root/.ssh/id_rsa
You mean inside the container that the autoscaler spinned ?
Notice that the agent by defult would mount the Host .ssh over the existing .ssh inside the container, if you do not want this behavior you need to set: agent.disable_ssh_mount: true in clearml.conf
