This repository has been archived by the owner on Jun 2, 2022. It is now read-only.
ssh transport fails to read identity files prefixed with '~' in SSH config #724
Labels
bug
Something isn't working
For example, given an ssh config file that's something like
The SSH transport fails to read
~/.ssh/id_rsa
@ https://github.com/puppetlabs/wash/blob/master/transport/ssh.go#L161 b/c ioutil.ReadFile does not read paths prefixed with~
.We should probably ensure that common UNIX-y paths like
~
are properly expanded before reading the file, but only if that is a common idiom. Given that this issue was filed months after the SSH transport was written, it probably isn't a common idiom and instead a result of me not knowing SSH config file conventions.The text was updated successfully, but these errors were encountered: