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

[ansible-pylibssh] Privilege escalation not working for linux host #165

Open
ganeshrn opened this issue Oct 21, 2020 · 1 comment
Open

Comments

@ganeshrn
Copy link
Member

SUMMARY
ISSUE TYPE
  • Bug Report
COMPONENT NAME
ANSIBLE VERSION
Privilege escalation not working for Linux host using libssh transport
CONFIGURATION

[persistent_connection]
connect_timeout = 100
command_timeout = 100
ssh_type = libssh
OS / ENVIRONMENT
STEPS TO REPRODUCE
- hosts: fedora
  gather_facts: no
  connection: ansible.netcommon.libssh

  tasks:
  - name: run commands
    command:
      cmd: "{{ item }}"
    loop:
    - "ls -al"
    become: true
    register: result
EXPECTED RESULTS
ACTUAL RESULTS
Privilege escalation fails
@webknjaz
Copy link
Member

Ref: ansible/pylibssh#16

@Qalthos Qalthos self-assigned this Jan 6, 2021
@Qalthos Qalthos removed their assignment Jul 29, 2024
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

No branches or pull requests

3 participants