X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=ssh%2Fstart-on-target.in;h=a21c6d1e49dea4097e3ed71acdd02f5d1ff8222f;hb=4dba24652a99e5a36ce31f545cdb29c46a82e216;hp=309a0597397ebbeeec27307f1b7a14ce658bbbf6;hpb=0d28ff2c0f86d7c681a47638b0991f87e337c01b;p=apps%2Fapp-templates.git diff --git a/ssh/start-on-target.in b/ssh/start-on-target.in index 309a059..a21c6d1 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 -tt $RSYNC_TARGET << EOF +exec ssh -o "StrictHostKeyChecking no" -tt $RSYNC_TARGET << EOF afb-daemon --workdir=$RSYNC_PREFIX --port=$AFB_REMPORT --roothttp=./htdocs --ldpath=./lib --verbose --token=$AFB_TOKEN & PID_DAEMON=\$!