banshible.sh 82 B

1234567
  1. #!/bin/bash
  2. ssh $1 bash << EOF
  3. export PW=$PW
  4. export SUDO_PROMPT=""
  5. $(cat $2)
  6. EOF