Passing ssh keys to container



I’m trying to pass ssh keys to my container. If I try to pass them as environment variables, then ssh-agent tells me the format is invalid (probably due to formatting when pasting), and if I add the SSH keys through ssh permissions in the app, I don’t see the keys added in the container.


If you’re using 2.0 add them in the UI, and then use the add_ssh_key in your config with the fingerprint.


Thanks, that does it. The keys get added with the fingerprint (minus colons) as a suffix in the file name, any way to change that? I tried giving the key a hostname but it doesn’t seem to have an effect.


This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.