I have set up a TeamCity build agent, which runs as 'Local System'.
I have created and signed ssh key pairs.
So, now I have:
- id_rsa
- id_rsa.pub
- id_rsa-cert.pub
When I try to ssh into a device (which is correctly setup with CA) it works with the following command:
ssh user@my_device -i id_rsa
I could not find any way and setting to let the teamcity agent know and use also the cert file inside of the SSH EXEC or SSH UPLOAD build runner.
Therefore I get the error message:
user@my_device: Permission denied (publickey,keyboard-interactive).
Has someone done this before and knows what I am doing wrong?