Skip to content

Commit

Permalink
ceph-post-file: behave when sftp doesn't take -i
Browse files Browse the repository at this point in the history
Fixes: ceph#11836
Signed-off-by: Joseph McDonald <joseph.mcdonald@alcatel-lucent.com>
  • Loading branch information
Joseph McDonald authored and liewegas committed Jun 1, 2015
1 parent 64096b8 commit b84031e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ceph-post-file.in
Expand Up @@ -155,7 +155,7 @@ done
cp "$ssh_key" "$t4"
cp "${ssh_key}.pub" "$t4.pub"

sftp -i $t4 \
sftp -o "IdentityFile=$t4" \
-C \
-oCheckHostIP=no \
-oGlobalKnownHostsFile=$known_hosts \
Expand Down

0 comments on commit b84031e

Please sign in to comment.