Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2016
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. # INSTRUCTIONS
  2.  
  3. First, stop your current pipelines. For new pipelines:
  4.  
  5. 1. Install autossh. (Debian: apt install autossh)
  6.  
  7. archivebot2 is running on a DigitalOcean CoreOS droplet.
  8. On DigitalOcean, CoreOS droplets will restart to apply OS updates.
  9. To deal with these restarts, you'll need some way to bring the SSH->Redis
  10. tunnel back up automatically. autossh is pretty good at that.
  11.  
  12. 2. Change your SSH tunnel command to this:
  13.  
  14. autossh -M 12345 -C -N -L localhost:[YOUR OLD PORT]:redis:6379 archivebot@archivebot2.at.ninjawedding.org
  15.  
  16. All SSH keys have been moved to the archivebot user, and the redis host is now "redis".
  17. The -M option is the monitoring port to be used by autossh. If port 12345 is already in use, choose some other port.
  18.  
  19. # NEW SSH HOST KEYS
  20.  
  21. 1024 SHA256:AnqkEpK+qqoKOVisdySmXJspJ6yERZjXAxWbBq3x52w root@405b5a85c3fe (DSA)
  22. 256 SHA256:jltonN00/v2RLlbgQNgR3wXQFXEG/gDdJ7Xph4KHzR4 root@405b5a85c3fe (ECDSA)
  23. 256 SHA256:zWXdu1pUESJKzDomVXUvrlWw4+XwVBtAjZJjwEURMsk root@405b5a85c3fe (ED25519)
  24. 2048 SHA256:MjxQg7oQRfG231JA0jnUwZ3XZ0BYL97J0bgdpWrAqq8 root@405b5a85c3fe (RSA)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement