Skip to content
This repository was archived by the owner on Sep 20, 2018. It is now read-only.
This repository was archived by the owner on Sep 20, 2018. It is now read-only.

unable to do a pseudo-tty to Native SSH client #46

@alfredodeza

Description

@alfredodeza

I'm seeing some issues with newer SSH clients where the configuration is set to disallow sudo in non-tty environments, and given the fact that our tool requires sudo for pretty much all of the remote commands we get a problem where users simply cannot use our tool unless they change their SSH configurations.

ssh allows the usage of -t as a flag to override this, but we are not able to pass that flag to the NativeSSHClient because the **kwargs in the client ignore them.

Something like an extra_args keyword argument that accepts a list so we can expand the flags to SSH would be ideal.

ceph-deploy issue opened to track this: http://tracker.ceph.com/issues/6104

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions