Loading .bashrc +0 −1 Original line number Diff line number Diff line Loading @@ -71,7 +71,6 @@ alias kpcli='kpcli --kdb ~/Documents/Database.kdbx' alias gen-mac="hexdump -n5 -e '\"02\" 5/1 \":%02X\" \"\\n\"' /dev/urandom" alias clean-swp="find \$HOME/ -name '*.swp' -delete" alias unssh="ssh -o \"UserKnownHostsFile /dev/null\" -o \"StrictHostKeyChecking no\"" alias boxssh="unssh -i \$HOME/.ssh/bullguard-box_rsa -l root -p 64222" alias todo="vim \$HOME/Documents/TODO.yml" alias sudo="sudo " alias presentation='docker run -itv "$PWD:/project" adarnimrod/presentation' Loading Documents/bin/boxssh 0 → 100755 +15 −0 Original line number Diff line number Diff line #!/bin/sh set -eu die () { echo "$@" exit 1 } which ip > /dev/null || die "Can't find ip." alias ssh='ssh -o "UserKnownHostsFile /dev/null" -o "StrictHostKeyChecking no" -i "$HOME/.ssh/bullguard-box_rsa" -l root -p 64222' gateway="$(ip neigh show | awk '$5 ~ /^38:b8:eb:5/ {print $1}')" [ -n "$gateway" ] || die "Can't find Dojo box IP." ssh "$gateway" Loading
.bashrc +0 −1 Original line number Diff line number Diff line Loading @@ -71,7 +71,6 @@ alias kpcli='kpcli --kdb ~/Documents/Database.kdbx' alias gen-mac="hexdump -n5 -e '\"02\" 5/1 \":%02X\" \"\\n\"' /dev/urandom" alias clean-swp="find \$HOME/ -name '*.swp' -delete" alias unssh="ssh -o \"UserKnownHostsFile /dev/null\" -o \"StrictHostKeyChecking no\"" alias boxssh="unssh -i \$HOME/.ssh/bullguard-box_rsa -l root -p 64222" alias todo="vim \$HOME/Documents/TODO.yml" alias sudo="sudo " alias presentation='docker run -itv "$PWD:/project" adarnimrod/presentation' Loading
Documents/bin/boxssh 0 → 100755 +15 −0 Original line number Diff line number Diff line #!/bin/sh set -eu die () { echo "$@" exit 1 } which ip > /dev/null || die "Can't find ip." alias ssh='ssh -o "UserKnownHostsFile /dev/null" -o "StrictHostKeyChecking no" -i "$HOME/.ssh/bullguard-box_rsa" -l root -p 64222' gateway="$(ip neigh show | awk '$5 ~ /^38:b8:eb:5/ {print $1}')" [ -n "$gateway" ] || die "Can't find Dojo box IP." ssh "$gateway"