How can i connect to rack when i select "Allow SSH access and prevent machine from powering off"


Where can i find the private key to connect the rack ?
I had import my own ssh key in maas region but it doesnt seem to be working.
I have been successed to connect other machine in resuce mode before.