Skip to content

Instantly share code, notes, and snippets.


  • the Netherlands
Block or report user

Report or block Lennie

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:35ae648347ccb9d45962
This is based on
After running the script, you should be able to login using:
ssh-keygen -R $IP # if the host-key is already know for that IP-address
ssh-keyscan -p 22 $IP > /var/lib/libvirt/images/boot2docker1.hostfile
ssh-keygen -H -f /var/lib/libvirt/images/boot2docker1.hostfile
rm -f /var/lib/libvirt/images/boot2docker1.hostfile.old
ssh -p 22 -o UserKnownHostsFile=/var/lib/libvirt/images/boot2docker1.hostfile -i /var/lib/libvirt/images/boot2docker1.key docker@$IP
You can’t perform that action at this time.