Skip to content

tailcat: look for pwsh.exe on Windows - #61

Merged
bradfitz merged 1 commit into
tailscale:mainfrom
gcurtis:pwsh
Sep 1, 2026
Merged

tailcat: look for pwsh.exe on Windows#61
bradfitz merged 1 commit into
tailscale:mainfrom
gcurtis:pwsh

Conversation

@gcurtis

@gcurtis gcurtis commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Look for pwsh.exe in addition to powershell.exe when starting an SSH terminal on Windows. pwsh.exe is PowerShell 6 and later, while powershell.exe is the older version that Windows includes by default.

Also respect the Windows OpenSSH DefaultShell registry key when the user has set it to a specific PowerShell executable.

Look for pwsh.exe in addition to powershell.exe when starting an SSH
terminal on Windows. pwsh.exe is PowerShell 6 and later, while
powershell.exe is the older version that Windows includes by default.

Also respect the Windows OpenSSH DefaultShell registry key when the user
has set it to a specific PowerShell executable.
@bradfitz
bradfitz merged commit 4a25a91 into tailscale:main Sep 1, 2026
6 checks passed
@gcurtis
gcurtis deleted the pwsh branch September 1, 2026 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants