devops--openstack--lab/vm-1.vm-1.devstack/inception/tools/start-proxy.sh

11 lines
208 B
Bash
Raw Permalink Normal View History

2024-07-16 11:37:55 +00:00
#!/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