Skip to content

Instantly share code, notes, and snippets.

@emilfolino
Created November 29, 2019 06:36
Show Gist options
  • Save emilfolino/7474b32aaf4201ef66348d3b9af881fc to your computer and use it in GitHub Desktop.
Save emilfolino/7474b32aaf4201ef66348d3b9af881fc to your computer and use it in GitHub Desktop.
correct
#!/usr/bin/env bash
PASS=$(pass BTH\ Studkonto)
ssh [email protected] -i /home/efo/.ssh/dbwebb.pub -t "echo $PASS | sudo -S setpre-dbwebb-kurser.bash $3 $1"
dbwebb --yes inspect $1 $2 $3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment