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.
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.
Looks like something you might want to field, @PaulHigin 馃檪
I think this is a great idea. We initially kept SSH command options to a minimum to keep things simple. But if they are useful, we should definitely support them.
That's great! It doesn't seem like this would be too hard to implement, I'd have no problem taking a look.
Most helpful comment
That's great! It doesn't seem like this would be too hard to implement, I'd have no problem taking a look.