summaryrefslogtreecommitdiffstats
path: root/ssh
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-06-15 07:57:00 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2017-06-15 07:57:00 +0000
commit8d9b7f22c821e149a09824df50a6775fac43a977 (patch)
treefcdfe8d60457e66c5ab4dd75b3afe04b2c9fc576 /ssh
parent5a83e479e50eff90f1d98bd74a9f933a6340e3f6 (diff)
parentb0a2632e28f03dd664b959f7f4b038741a62678b (diff)
Merge changes I81a6d9f6,I67698bbb
* changes: Fix: remove old bug about overwriten variables. Fix gdb debugging and add widget install on target
Diffstat (limited to 'ssh')
-rw-r--r--ssh/start-on-target.in4
1 files changed, 2 insertions, 2 deletions
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=\$!