Skip to content

Commit

Permalink
Issue #2207: Use owner ssh mode in pipe ssh if default root access is…
Browse files Browse the repository at this point in the history
… disabled
  • Loading branch information
tcibinan committed Aug 15, 2023
1 parent e946dea commit e7c7efe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipe-cli/src/utilities/ssh_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ def resolve_run_ssh_mode(conn_info):
return conn_info.parameters.get('CP_CAP_SSH_MODE') \
or ('owner-sshpass' if conn_info.platform == 'windows'
else 'root' if is_ssh_default_root_user_enabled()
else 'user')
else 'owner')


def resolve_run_ssh_user(run_ssh_mode, run_owner):
Expand Down

0 comments on commit e7c7efe

Please sign in to comment.