Passing ssh keys to container

ssh

#1

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.


#2

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


#3

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.


#4

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