We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bdbba3 commit f991eb0Copy full SHA for f991eb0
scripts/open_tunnel_ssh.sh
@@ -17,8 +17,8 @@ port_out=5558
17
18
chmod 400 $KEY
19
20
-cmd_in="ssh -f -N -T -R $remote_port_in:localhost:$port_in -i $KEY $REMOTE_HOST"
21
-cmd_out="ssh -f -N -T -R $remote_port_out:localhost:$port_out -i $KEY $REMOTE_HOST"
+cmd_in="ssh -f -N -T -R $remote_port_in:localhost:$port_in -i $KEY -o StrictHostKeyChecking=no $REMOTE_HOST"
+cmd_out="ssh -f -N -T -R $remote_port_out:localhost:$port_out -i $KEY -o StrictHostKeyChecking=no $REMOTE_HOST"
22
23
kill -9 $(ps aux | grep "$cmd_in" | awk '{print $2}') 2> /dev/null
24
kill -9 $(ps aux | grep "$cmd_out" | awk '{print $2}') 2> /dev/null
0 commit comments