Skip to content

ssh auth support - #144

Merged
odra merged 1 commit into
eclipse-score:mainfrom
odra:ssh-auth
Oct 23, 2026
Merged

odra merged 1 commit into
eclipse-score:mainfrom
odra:ssh-auth

Conversation

@odra

@odra odra commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

Adds a ssh_auth option for qemu.

Comment thread score/itf/plugins/qemu/qemu_target.py Resolved
Comment thread score/itf/plugins/qemu/qemu_target.py Resolved
Comment thread test/unit/test_qemu_auth.py Resolved
Comment thread test/unit/test_qemu_auth.py Resolved
Comment thread test/unit/test_qemu_auth.py Outdated
def test_resolve_ssh_auth_ok(qemu_target, username, password, pkey_path, expected):
ssh_opts = build_ssh_auth_args(password, pkey_path)

assert qemu_target._resolve_ssh_auth(username, **ssh_opts) == expected

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Add message to assert on all places

Comment thread test/unit/test_qemu_config_schema.py Outdated

def test_default_ssh_auth_is_empty_root_password():
model = QemuConfigModel.model_validate(_VALID_BRIDGE_CONFIG)
assert model.ssh_auth.username == "root"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Add message to assert on all places

Signed-off-by: odra <lrossett@redhat.com>
@odra
odra enabled auto-merge October 23, 2026 13:57
@odra
odra added this pull request to the merge queue Oct 23, 2026
Merged via the queue into eclipse-score:main with commit 0e75cfc Oct 23, 2026
10 checks passed
@odra
odra deleted the ssh-auth branch October 23, 2026 14:23
@github-project-automation github-project-automation Bot moved this from Backlog to Done in TST - Testing Community Oct 23, 2026
etas-contrib-automation Bot pushed a commit to etas-contrib/score_communication that referenced this pull request Nov 3, 2026
Bumps `score_itf` 0.6.0 -> 0.7.0.

- eclipse-score/itf#150: restart the QNX guest when its kernel panics
during boot (eclipse-score#1513, eclipse-score/qnx_sdp#9)
- eclipse-score/itf#151: do not lose early docker exec output
- eclipse-score/itf#144: SSH auth support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants