Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SSH Key Auth [Follow-up] #108

Merged
merged 3 commits into from
Mar 20, 2025

Conversation

jamfish
Copy link

@jamfish jamfish commented Mar 19, 2025

This is a follow-up to #107 due to having issues with rebase. The only additional differences are that I added lines to readme to reflect the env file changes, but everything should work as it did in #107.

@andreashappe andreashappe requested a review from Copilot March 20, 2025 09:36
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This follow-up PR builds on #107, adding documentation updates and expanding SSH authentication to support key-based logins.

  • Updated README.md to document the use of an AWS/SSH key-specific .env file.
  • Modified the SSHConnection class to include a keyfilename attribute and adjusted its initialization accordingly.
  • Updated the ssh_test_credential capability to accept a keyfilename parameter for testing SSH key authentication.

Reviewed Changes

Copilot reviewed 3 out of 5 changed files in this pull request and generated no comments.

File Description
README.md Added instructions regarding AWS/ssh-key authentication using .env files.
src/hackingBuddyGPT/utils/ssh_connection/ssh_connection.py Added keyfilename support and updated connection setup for key authentication.
src/hackingBuddyGPT/capabilities/ssh_test_credential.py Updated test credential method signature to accept a keyfilename.
Files not reviewed (2)
  • .env.example: Language not supported
  • .env.example.aws: Language not supported

@andreashappe andreashappe merged commit d2421f7 into ipa-lab:development Mar 20, 2025
1 check passed
@jamfish jamfish deleted the jf-sshauthupdate branch March 20, 2025 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants