Last active
November 4, 2016 18:38
-
-
Save hannahwhy/9c2a0f0ffa7a8db5075e58f711b5d3f0 to your computer and use it in GitHub Desktop.
Switching pipelines to archivebot2 - https://git.io/vPFVm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# INSTRUCTIONS | |
First, stop your current pipelines. For new pipelines: | |
1. Install autossh. (Debian: apt install autossh) | |
archivebot2 is running on a DigitalOcean CoreOS droplet. | |
On DigitalOcean, CoreOS droplets will restart to apply OS updates. | |
To deal with these restarts, you'll need some way to bring the SSH->Redis | |
tunnel back up automatically. autossh is pretty good at that. | |
2. Change your SSH tunnel command to this: | |
autossh -M 12345 -C -N -L localhost:[YOUR OLD PORT]:redis:6379 archivebot@archivebot2.at.ninjawedding.org | |
All SSH keys have been moved to the archivebot user, and the redis host is now "redis". | |
The -M option is the monitoring port to be used by autossh. If port 12345 is already in use, choose some other port. | |
# NEW SSH HOST KEY FINGERPRINTS | |
1024 SHA256:AnqkEpK+qqoKOVisdySmXJspJ6yERZjXAxWbBq3x52w root@405b5a85c3fe (DSA) | |
256 SHA256:jltonN00/v2RLlbgQNgR3wXQFXEG/gDdJ7Xph4KHzR4 root@405b5a85c3fe (ECDSA) | |
256 SHA256:zWXdu1pUESJKzDomVXUvrlWw4+XwVBtAjZJjwEURMsk root@405b5a85c3fe (ED25519) | |
2048 SHA256:MjxQg7oQRfG231JA0jnUwZ3XZ0BYL97J0bgdpWrAqq8 root@405b5a85c3fe (RSA) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment