devops--openstack--lab/vm-1.vm-1.devstack/tools/start-proxy.sh
2024-07-16 13:37:55 +02:00

10 lines
208 B
Bash
Executable file

#!/bin/sh
if [ ! -f ssh.config ] ; then
echo "Exporting ssh config"
vagrant ssh-config > ssh.config
fi
echo "Launching ssh proxy on port 3128. Press Ctrl-C to stop."
ssh -F ssh.config -D 3128 control -N