-
Notifications
You must be signed in to change notification settings - Fork 8.4k
ssh-copy-id fails if powershell is default shell #4691
Copy link
Copy link
Closed
Labels
Committee-ReviewedPS-Committee has reviewed this and made a decisionPS-Committee has reviewed this and made a decisionResolution-FixedThe issue is fixed.The issue is fixed.WG-DevEx-Portabilityauthoring cross-platform or cross-architecture modules, cmdlets, and scriptsauthoring cross-platform or cross-architecture modules, cmdlets, and scripts
Milestone
Metadata
Metadata
Assignees
Labels
Committee-ReviewedPS-Committee has reviewed this and made a decisionPS-Committee has reviewed this and made a decisionResolution-FixedThe issue is fixed.The issue is fixed.WG-DevEx-Portabilityauthoring cross-platform or cross-architecture modules, cmdlets, and scriptsauthoring cross-platform or cross-architecture modules, cmdlets, and scripts
Type
Fields
Give feedbackNo fields configured for issues without a type.
ssh-copy-id is a popular shebang bash script to make it easy to deploy public keys on target machines for key based authn.
The problem is that this script uses the POSIX shell cmd
execwhich is unknown to powershell:This can block adoption of powershell as the default shell (via chsh)
Steps to reproduce
Expected behavior
Actual behavior
Environment data