X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=ssh%2Fstart-on-target.in;h=9e3a60d7a9d951dec4a4ac09c19f671e1c190317;hb=08f6a2af804fc7a7cfe8656a8dff00c245db6c15;hp=a21c6d1e49dea4097e3ed71acdd02f5d1ff8222f;hpb=d8fcd75f5072aa2adb6e326cb9c25e5345707752;p=staging%2Fxdg-launcher.git diff --git a/ssh/start-on-target.in b/ssh/start-on-target.in index a21c6d1..9e3a60d 100644 --- a/ssh/start-on-target.in +++ b/ssh/start-on-target.in @@ -1,5 +1,5 @@ #!/bin/sh -# +# # File: start-on-target.sh # Author: Fulup Ar Foll @ IoT.bzh # Object: Forward signal (SIGTERM) to remote process @@ -13,7 +13,7 @@ export RSYNC_PREFIX=@RSYNC_PREFIX@/@PROJECT_NAME@ export AFB_REMPORT=@AFB_REMPORT@ export AFB_TOKEN=@AFB_TOKEN@ -exec ssh -o "StrictHostKeyChecking no" -tt $RSYNC_TARGET << EOF +exec ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -tt $RSYNC_TARGET << EOF afb-daemon --workdir=$RSYNC_PREFIX --port=$AFB_REMPORT --roothttp=./htdocs --ldpath=./lib --verbose --token=$AFB_TOKEN & PID_DAEMON=\$!