We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2e81a8 commit fa0d099Copy full SHA for fa0d099
devlib/utils/ssh.py
@@ -181,7 +181,7 @@ def _resolve_known_hosts(strict_host_check):
181
if isinstance(strict_host_check, (str, os.PathLike)):
182
path = Path(strict_host_check)
183
else:
184
- path = Path('~/.ssh/known_hosts').expandvars()
+ path = Path('~/.ssh/known_hosts').expanduser()
185
186
path = Path('/dev/null')
187
0 commit comments