diff --git a/extensions/ssh/jsch/src/main/java/org/jclouds/ssh/jsch/JschSshClient.java b/extensions/ssh/jsch/src/main/java/org/jclouds/ssh/jsch/JschSshClient.java index 8f2e182fee..9122d26f80 100644 --- a/extensions/ssh/jsch/src/main/java/org/jclouds/ssh/jsch/JschSshClient.java +++ b/extensions/ssh/jsch/src/main/java/org/jclouds/ssh/jsch/JschSshClient.java @@ -279,7 +279,7 @@ public class JschSshClient implements SshClient { return new ExecResponse(Utils.toStringAndClose(executor.getInputStream()), error .toString(), executor.getExitStatus()); } catch (Exception e) { - throw new SshException(String.format("%s@%s:%d: Error executing command: ", username, + throw new SshException(String.format("%s@%s:%d: Error executing command: %s", username, host, port, command), e); } } finally {