#!/bin/sh
# changed to aliases to allow rsync, scp, and ssh to have 'wor' versions.
badscp() {
    scp -S badssh "${@}";
}

badrsync() {
    rsync -e badssh "${@}";
}

worssh() {
    ssh -D 9944 -o "ProxyCommand /usr/bin/nc -X 5 -x 127.0.0.1:9000 %h %p" -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no "${@}";
}

worscp() {
    scp -o "ProxyCommand /usr/bin/nc -X 5 -x 127.0.0.1:9000 %h %p" -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no "${@}";
}

worrsync() {
    rsync -e "ssh -o 'ProxyCommand /usr/bin/nc -X 5 -x 127.0.0.1:9000 %h %p' -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" "${@}";
}
