Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 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 KEYS
- 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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement