The blog about containerisation, virtual machines and useful shell snippets and findings

Add ssh key for coreos (backup)

In order to make backup more secure I dont want to share my private key, instead I’ll create separate key for backup and supply to coreos and backup scripts.

Supplying to CoreOS is something different then other OSes.

echo 'ssh-rsa AAAAB3 ....' | update-ssh-keys -a core

does it’s job and key should survive after reboots.