mirror of
https://github.com/kaboomserver/buildpack.git
synced 2024-06-30 23:09:00 +00:00
Ensure remote proxy can be connected to after outages
This commit is contained in:
parent
2a758ffaca
commit
0eb7f99b79
|
@ -6,7 +6,6 @@ echo "$SYNC_KEY" > .ssh/id_rsa
|
||||||
chmod 600 .ssh/remote
|
chmod 600 .ssh/remote
|
||||||
|
|
||||||
ssh-keyscan github.com >> .ssh/known_hosts
|
ssh-keyscan github.com >> .ssh/known_hosts
|
||||||
ssh-keyscan -p 53940 play.kaboom.pw >> .ssh/known_hosts
|
|
||||||
|
|
||||||
chmod -R 500 plugins/bStats/ plugins/PluginMetrics/ plugins/ProtocolLib/
|
chmod -R 500 plugins/bStats/ plugins/PluginMetrics/ plugins/ProtocolLib/
|
||||||
|
|
||||||
|
@ -18,7 +17,7 @@ tmux new -d -s server 'while true; do
|
||||||
done'
|
done'
|
||||||
|
|
||||||
tmux new -d -s remote 'while true; do
|
tmux new -d -s remote 'while true; do
|
||||||
ssh -i ~/.ssh/remote -o ExitOnForwardFailure=yes -o StreamLocalBindUnlink=yes -c aes128-ctr -C -S none -N -T -R 53950:localhost:25565 -p 53940 remote@play.kaboom.pw
|
ssh -i ~/.ssh/remote -o StrictHostKeyChecking=no -o ExitOnForwardFailure=yes -o StreamLocalBindUnlink=yes -c aes128-ctr -C -S none -N -T -R 53950:localhost:25565 -p 53940 remote@play.kaboom.pw
|
||||||
sleep 1
|
sleep 1
|
||||||
done'
|
done'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue