Closed rherrmann closed 3 years ago
First off, thank you for your work!
I tried using the library in an environment without a ~/.ssh/config file, however it fails trying to open the non-existing file:
~/.ssh/config
failed to open ".../.ssh/config": Os { code: 2, kind: NotFound, message: "No such file or directory", }
To me, it seems read_ssh_config_as_string should return Ok(None) if there is no config file. Does this makes sense?
read_ssh_config_as_string
Ok(None)
make sense, Thanks for reporting the bug, I released 0.7.1 with the fix
First off, thank you for your work!
I tried using the library in an environment without a
~/.ssh/config
file, however it fails trying to open the non-existing file:To me, it seems
read_ssh_config_as_string
should returnOk(None)
if there is no config file. Does this makes sense?