Skip to content

Commit

Permalink
Comment only (#970)
Browse files Browse the repository at this point in the history
  • Loading branch information
knoxg committed Dec 28, 2024
1 parent fc8512a commit c37ec15
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public static void main(String... args)
throws IOException {

/*
for testing, use a locally-installed ssh client (which sort of defeats the purpose of using sshj),
for testing, uses a locally-installed ssh client,
but for AWS SSM, once you've negotiated the OAuth/SAML login for SSO,
then called StsClient.getCallerIdentity() to check that worked
Expand Down Expand Up @@ -47,7 +47,7 @@ public static void main(String... args)
ssh.connectVia(recvStream, xmitStream);

try {
ssh.authPublickey(System.getProperty("user.name"));
ssh.authPublickey(System.getProperty("user.name"));
final Session session = ssh.startSession();
try {
final Session.Command cmd = session.exec("ping -c 1 google.com");
Expand Down

0 comments on commit c37ec15

Please sign in to comment.