Setup a (temporary) http server on your machine that always responds with your machine's SSH public key.
Replace the 'YOUR-SSH-KEY-GOES-HERE' if using the golang file of this gist.
Call these commands below on the CoreOS box by replacing IP-OF-YOUR-MACHINE
of your machine having the http server.
curl http://[IP-OF-YOUR-MACHINE]:8888 > ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys
Note that I chose port 8888 in the golang file but it could be changed there and then also adapted in the curl
command from CoreOS.
Now you should be able to connect if you know the ip. Hint: ip addr show
to show IPs.