Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Commit

Permalink
Fixed path to key in test
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Osborn <osbornjd@ornl.gov>
  • Loading branch information
Joe Osborn committed Feb 6, 2020
1 parent ceaaacb commit 1317365
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -178,8 +178,9 @@ public void testMultiHopRemoteCommand() {
ConnectionAuthorizationHandlerFactory authFactory = new ConnectionAuthorizationHandlerFactory();
// Request a ConnectionAuthorization of type text file which contains the
// credentials
String keyPath = System.getProperty("user.home") + "/.ssh/denisovankey";
ConnectionAuthorizationHandler auth = authFactory.getConnectionAuthorizationHandler("keypath",
"/home/4jo/.ssh/denisovankey");
keyPath);
auth.setHostname("denisovan");
auth.setUsername("4jo");
// Set it
Expand Down

0 comments on commit 1317365

Please sign in to comment.