kssh() {
  knife ssh -G bastion01a-pdx.cpe.wtf -a ec2.public_hostname $@
}

sshp() {
  ssh -J bastion01a-pdx.cpe.wtf:22 $@
}

bastion_proxy_start() {
	ssh -f -N -D 19876 -M -S /tmp/bastion_ssh_tunnel_%h.sock -o ExitOnForwardFailure=yes bastion01a-pdx.cpe.wtf && \
	 echo "ssh tunnel started successfully" || \
	 echo "ssh tunnel failed to start"
}

bastion_proxy_stop() {
  ssh -S /tmp/bastion_ssh_tunnel_%h.sock -O exit bastion01a-pdx.cpe.wtf
}
