From 96d1d73fc5c58359c761e95a267bd478c4227db1 Mon Sep 17 00:00:00 2001 From: Giuseppe Lettieri Date: Thu, 15 Nov 2012 13:05:23 +0100 Subject: [PATCH] Use ssh key in scp, if set Reported-by: Felician Nemeth --- planetlab/exp-tool/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/planetlab/exp-tool/Makefile b/planetlab/exp-tool/Makefile index d1c9062d7..ec8787115 100644 --- a/planetlab/exp-tool/Makefile +++ b/planetlab/exp-tool/Makefile @@ -315,7 +315,7 @@ update-%: FORCE @[ -n "$(SLIVER_OVS)" ] || { echo "SLIVER_OVS not set" >&2; exit 1; } @[ -f "$(SLIVER_OVS)" ] || { echo "$(SLIVER_OVS) not found" >&2; exit 1; } @echo "Sending $(SLIVER_OVS) to $(call display,$*)" - @scp -q $(SLIVER_OVS) $(SLICE)@$(call solve,$*): + @scp $(SSH_KEY_OPTION) -q $(SLIVER_OVS) $(SLICE)@$(call solve,$*): @$(SSH) $(call solve,$*) $(SUDO) mv $(notdir $(SLIVER_OVS)) /usr/sbin/sliver-ovs .SECONDEXPANSION: -- 2.43.0