pulumi-command icon indicating copy to clipboard operation
pulumi-command copied to clipboard

Add provider arguments for the SSH Connection

Open CmdrSharp opened this issue 11 months ago • 1 comments

Hello!

  • Vote on this issue by adding a 👍 reaction
  • If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details

The Command package currently has no way of adding arguments to the underlying SSH command. In my case, I need a pseudo-TTY for a command to work with sudo. I'd like to add a -t to the SSH command, but am unable to do so as there's nowhere to configure that.

The provider could contain such configuration that might be globally applicable for many Commands.

Affected area/feature

Unknown

CmdrSharp avatar Mar 20 '24 14:03 CmdrSharp

Thanks for the suggestions @CmdrSharp; as a workaround, you could maybe construct the full ssh command yourself directly using the Local command resource

mjeffryes avatar Mar 20 '24 23:03 mjeffryes