cedricziel / dokku-hostkeys-plugin

Manage hostkeys (for .ssh/known_hosts) to your container environment
MIT License
51 stars 21 forks source link

Cannot copy keys to list of known hosts #8

Closed calvingiles closed 8 years ago

calvingiles commented 9 years ago

After adding a key (via the dokku commands and manually), the key successfully loads:

-----> Checking Hostkeys Plugin sanity ...
-----> Installing Hostkeys in build environment ...
       No app keys available.
       Adding shared keys.
-----> Done Installing Hostkeys in build environment ...
       Added the following keys:
       github.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==

When I attempt to connect to github, I get the following error:

remote: Failed to add the RSA host key for IP address '192.30.252.128' to the list of known hosts (/etc/ssh/ssh_known_hosts).
vitch commented 9 years ago

Did you ever figure this out? I'm having related problems...

cedricziel commented 8 years ago

You may want to look into #12 for a solution.

Sorry that the response took so long.