Skip to content

Instantly share code, notes, and snippets.

@sirhc
Created August 16, 2010 16:23
Show Gist options
  • Save sirhc/527224 to your computer and use it in GitHub Desktop.
Save sirhc/527224 to your computer and use it in GitHub Desktop.
screen config to ssh to multiple build hosts
# Use this screen configuration with:
# screen -O -d -R build-hosts -c ~/.screenrc-build-hosts
startup_message off
chdir
autodetach on
hardstatus alwayslastline
hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{=kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B}%Y-%m-%d %{W}%c %{g}]'
screen -t shell0 0
screen -t buildhost01 1 ssh buildhost01
screen -t buildhost02 2 ssh buildhost02
screen -t buildhost03 3 ssh buildhost03
screen -t buildhost04 4 ssh buildhost04
screen -t buildhost05 5 ssh buildhost05
screen -t buildhost06 6 ssh buildhost06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment