diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-05-27 14:17:49 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-05-27 14:17:49 +0200 |
commit | f32fc8b9eb8303d1ca2e1cc17773bc44d38fff3d (patch) | |
tree | 6327f7c57886a63dcb711803b059bd4d9568cb0d /bin | |
parent | 41712f9a97da7ee3c98ccbc6a17e119c09d0b7e2 (diff) |
updated
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/extra/aivpn | 18 | ||||
-rwxr-xr-x | bin/menuscripts/mpass-otp | 2 |
2 files changed, 6 insertions, 14 deletions
diff --git a/bin/extra/aivpn b/bin/extra/aivpn index 21436ed..841d926 100755 --- a/bin/extra/aivpn +++ b/bin/extra/aivpn @@ -16,23 +16,15 @@ done export SSH_ASKPASS="sshpass" export SSH_ASKPASS_REQUIRE="prefer" -export PASSWORD="zot/qemu" +export PASSWORD="zot/quickemu" err "I: Activating vpn" ssh vm "rasdial \"vpn.student.ehb.be\"" keyadd ehb/ai -ssh -f -N \ - -L 2222:10.2.160.41:22 \ - vm +ssh -f -N -L 2222:10.2.160.41:22 vm keyadd ehb/vm_int -ssh -f -N \ - -L 2223:10.2.160.9:22 \ - vm -ssh -f -N \ - -L 2224:10.2.160.10:22 \ - vm -ssh -f -N \ - -L 2225:10.2.160.11:22 \ - vm +ssh -f -N -L 2223:10.2.160.9:22 vm +ssh -f -N -L 2224:10.2.160.10:22 vm +ssh -f -N -L 2225:10.2.160.11:22 vm diff --git a/bin/menuscripts/mpass-otp b/bin/menuscripts/mpass-otp index 52d1341..2be6186 100755 --- a/bin/menuscripts/mpass-otp +++ b/bin/menuscripts/mpass-otp @@ -1,7 +1,7 @@ #!/bin/sh pass="$(find "$PASSWORD_STORE_DIR"/keys/otp -iname "*.gpg" | sed "/^\./d;s#^$PASSWORD_STORE_DIR/keys/otp/##;s/\.gpg$//" | - commander -c)" + dmenu -c)" [ "$pass" ] || exit 1 pass otp -c keys/otp/"$pass" notify-send -t 1000 "mpass" "copied $pass" |