diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-05-28 13:01:23 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-10-15 18:22:20 +0200 |
commit | 6873aa786bf28bedab6c66e39012a6a1faa06550 (patch) | |
tree | f60c736a93ab12be539661b5c56f6cb3a3fc03ab | |
parent | fe50d3bb972821b5239fb66d6b2428bab8490490 (diff) |
Fix: first ssh connection
Don't ask to valid host key at first connection to a host
Change-Id: I664d15e2a913638ffccb85c4d420a0df8b9addc5
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r-- | ssh/start-on-target.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssh/start-on-target.in b/ssh/start-on-target.in index 309a059..b0623cf 100644 --- a/ssh/start-on-target.in +++ b/ssh/start-on-target.in @@ -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=\$! |