install_elic.sh 277 B

12345678910111213
  1. #!/bin/bash
  2. TARGET=manneback
  3. cd $HOME
  4. touch $HOME/.Xauthority
  5. [ ! -s $HOME/.ssh/id_rsa.ceci ] && exit
  6. chmod 600 $HOME/.ssh/id_rsa.ceci
  7. [ -s $HOME/.ssh/config ] && mv $HOME/.ssh/config $HOME/.ssh/config_old
  8. cat elic_config | sed -e 's/jsmith/'$USER'/g' > $HOME/.ssh/config