Skip to content

Instantly share code, notes, and snippets.

@awreece
Created February 26, 2013 04:41
Show Gist options
  • Save awreece/5035955 to your computer and use it in GitHub Desktop.
Save awreece/5035955 to your computer and use it in GitHub Desktop.
$ for i in {51..59}; do ssh ghc$i 'hostname'; done
bash: /afs/andrew.cmu.edu/usr9/areece/.bashrc: Permission denied
ghc51.ghc.andrew.cmu.edu
bash: /afs/andrew.cmu.edu/usr9/areece/.bashrc: Permission denied
ghc52.ghc.andrew.cmu.edu
bash: /afs/andrew.cmu.edu/usr9/areece/.bashrc: Permission denied
ghc53.ghc.andrew.cmu.edu
ssh: connect to host ghc54 port 22: No route to host
bash: /afs/andrew.cmu.edu/usr9/areece/.bashrc: Permission denied
ghc55.ghc.andrew.cmu.edu
ssh: connect to host ghc56 port 22: No route to host
bash: /afs/andrew.cmu.edu/usr9/areece/.bashrc: Permission denied
ghc57.ghc.andrew.cmu.edu
bash: /afs/andrew.cmu.edu/usr9/areece/.bashrc: Permission denied
ghc58.ghc.andrew.cmu.edu
bash: /afs/andrew.cmu.edu/usr9/areece/.bashrc: Permission denied
ghc59.ghc.andrew.cmu.edu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment