Skip to content

Integration test for pull #586#706

Merged
OddBloke merged 3 commits into
canonical:masterfrom
TheRealFalcon:ssh-keys-test
Dec 3, 2020
Merged

Integration test for pull #586#706
OddBloke merged 3 commits into
canonical:masterfrom
TheRealFalcon:ssh-keys-test

Conversation

@TheRealFalcon
Copy link
Copy Markdown
Contributor

Proposed Commit Message

Integration test for pull #586

If a non-default AuthorizedKeysFile is specified in
/etc/ssh/sshd_config, ensure we can still ssh as expected

Additional Context

See #586

Test Steps

Until SRU ends...
Run pytest -s tests/integration_tests/bugs/test_gh586.py to reproduce issue.
Run CLOUD_INIT_CLOUD_INIT_SOURCE=PROPOSED pytest -s tests/integration_tests/bugs/test_gh586.py to verify.

Checklist:

  • My code follows the process laid out in the documentation
  • I have updated or added any unit tests accordingly
  • I have updated or added any documentation accordingly

If a non-default AuthorizedKeysFile is specified in
/etc/ssh/sshd_config,  ensure we can still ssh as expected
@TheRealFalcon
Copy link
Copy Markdown
Contributor Author

Let's see if github complains about us storing keys in a repo 😉

Comment thread tests/integration_tests/assets/__init__.py Outdated
Comment thread tests/integration_tests/bugs/test_gh586.py
Comment thread tests/integration_tests/bugs/test_gh586.py Outdated
Comment thread tests/integration_tests/bugs/test_gh586.py Outdated
…File line in sshd_config and changing key references to include rsa
Comment thread tests/integration_tests/bugs/test_gh586.py
Copy link
Copy Markdown
Collaborator

@OddBloke OddBloke left a comment

Choose a reason for hiding this comment

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

Thanks!

@OddBloke OddBloke merged commit 06f7b45 into canonical:master Dec 3, 2020
@TheRealFalcon TheRealFalcon deleted the ssh-keys-test branch June 29, 2021 18:59
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