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