Skip to content

Commit eec3746

Browse files
committed
[FIXED JENKINS-11873] don't say proceeding with anonouymous because we might not
1 parent 8ad2502 commit eec3746

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

changelog.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@
5959
Update center UI improvement. "Install" button is now always visisble.
6060
<li class=bug>
6161
Fixed a bug where a large output from Maven can cause module log output to go out of sync with module build log files.
62+
<li class=bug>
63+
Confusing error message when the --username option is used on the system with the .ssh directory.
64+
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-11873">issue 11873</a>)
6265
<li class=bug>
6366
Fixed prematurely re-drawn matrix test result graph.
6467
</ul>

cli/src/main/java/hudson/cli/CLI.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,8 +319,8 @@ public static int _main(String[] _args) throws Exception {
319319
LOGGER.log(FINE,e.getMessage(),e);
320320
return -1;
321321
}
322-
System.err.println("Failed to authenticate with your SSH keys. Proceeding with anonymous access");
323-
LOGGER.log(FINE,"Failed to authenticate with your SSH keys. Proceeding with anonymous access",e);
322+
System.err.println("Failed to authenticate with your SSH keys.");
323+
LOGGER.log(FINE,"Failed to authenticate with your SSH keys.",e);
324324
}
325325
}
326326

0 commit comments

Comments
 (0)