mirror of
https://github.com/kaboomserver/buildpack.git
synced 2024-09-28 19:23:01 +00:00
Changes to remote
This commit is contained in:
parent
dc957e636a
commit
0166462ae4
|
@ -6,7 +6,7 @@ echo "$SYNC_KEY" > .ssh/id_rsa
|
|||
chmod 600 .ssh/remote
|
||||
|
||||
ssh-keyscan framagit.org >> .ssh/known_hosts
|
||||
ssh-keyscan -p 5950 play.kaboom.pw >> .ssh/known_hosts
|
||||
ssh-keyscan play.kaboom.pw >> .ssh/known_hosts
|
||||
|
||||
chmod -R 500 plugins/bStats/ plugins/PluginMetrics/ plugins/ProtocolLib/
|
||||
|
||||
|
@ -18,7 +18,7 @@ tmux new -d -s server 'while true; do
|
|||
done'
|
||||
|
||||
tmux new -d -s remote 'while true; do
|
||||
ssh -i ~/.ssh/remote -o Compression=no -o ExitOnForwardFailure=yes -o StreamLocalBindUnlink=yes -c aes128-ctr -S none -N -T -R 5930:localhost:25565 -p 5950 remote@play.kaboom.pw
|
||||
ssh -i ~/.ssh/remote -o Compression=no -o ExitOnForwardFailure=yes -o StreamLocalBindUnlink=yes -c aes128-ctr -S none -N -T -R 62570:localhost:25565 kaboom.pw@play.kaboom.pw
|
||||
sleep 1
|
||||
done'
|
||||
|
||||
|
|
Loading…
Reference in a new issue