Do ai task instances have the ssh keys as the workspace owner?

I tested around with AI tasks with some of my instances by converting one of my EC two templates to an AI task template. I noticed that when cloning a GitHub, it didn’t go through because of SSH keys issue.
4 Replies
Codercord
Codercord4w ago
Codercord
Codercord4w ago
<#1433918335455858830>
Category
Help needed
Product
Coder (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
ztlod ツ
ztlod ツ4w ago
i think they should work as normal instances, are you adding coder_login and git-config modules in your template? with the current git-clone module ive had some problem cloning repos with SSH, because the script used to get stuck in the fingerprint prompting if im not mistaken, solved that by configuring some extra git envs on my cloudinit
Hassib (Callstack Labs)
I dont have these modules. Just the coder agent module. I never had any issues without them on ec2. What the purpose of these anyways?

Did you find this page helpful?