Skip to content

Support passing options to SSH through cmdlets that allow remoting over SSH #12762

@BrannenGH

Description

@BrannenGH

Summary of the new feature/enhancement

As a user automating with PowerShell, I would like to pass options to OpenSSH when using PSRP over SSH as a SSH client, like ssh -o GlobalKnownHostsFile=/Path/To/File.

Currently, it seems only a small subset of command line arguments for SSH are supported.

Proposed technical implementation details

A new parameter could be added to the Invoke-Command and New-PSSession cmdlets that would allow a dictionary of strings or a list of strings for configuration options.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Enhancementthe issue is more of a feature request than a bugResolution-FixedThe issue is fixed.Up-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-RemotingPSRP issues with any transport layer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions