Get-SshPath changes broke Add-SshKey #92

wekempf opened this Issue Apr 4, 2013 · 1 comment


None yet
2 participants

wekempf commented Apr 4, 2013

The code in question uses single quotes (') where double quotes are needed ("). When single quotes are used in PowerShell variables aren't expanded.

This means '.ssh$File' quite literally means '.ssh$File' and not '.ssh\id_rsa' (or what ever value is specified in $File) as was obviously expected.

dahlbyk closed this in ad83dd6 Apr 4, 2013


dahlbyk commented Apr 4, 2013

Sigh, rookie mistake. Thanks for the report.

@codito codito added a commit to codito/posh-git that referenced this issue Jun 16, 2013

@dahlbyk @codito dahlbyk + codito Fix Get-SshPath
Fixes #92
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment