From 70d1b491c50e9c832d19e980c7fb93e3c0ba9b30 Mon Sep 17 00:00:00 2001 From: Dongsu Park Date: Fri, 22 Jul 2016 15:01:38 +0200 Subject: [PATCH] fleetctl: fix error message when fleetctl ssh fails Error message of fleetctl ssh should be "Unable to SSH to remote host". Fixes https://github.com/coreos/fleet/issues/995 --- fleetctl/ssh.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fleetctl/ssh.go b/fleetctl/ssh.go index ce6e2f39f..30da34e05 100644 --- a/fleetctl/ssh.go +++ b/fleetctl/ssh.go @@ -235,7 +235,7 @@ func runCommand(cCmd *cobra.Command, machID string, cmd string, args ...string) addr := findSSHPort(cCmd, ms.PublicIP) err, retcode = runRemoteCommand(cCmd, addr, cmd, args...) if err != nil { - stderr("Error running remote command: %v", err) + stderr("Unable to SSH to remote host: %v", err) } } }