Displaying 1 result from an estimated 1 matches for "tga5tdci46".
2019 Oct 20
5
[Bug 3083] New: Passing tilde (HOME) in file option results in cryptic error
...1 and also in latest
8.1p1:
ssh-keygen -f "~/.ssh/known_hosts" -R "johndoe"
Expected output:
known_hosts: No such file or directory
The actual result output is:
mkstemp: No such file or directory
`strace -f` shows:
openat(AT_FDCWD, "~/.ssh/known_hosts.TgA5TDcI46",
O_RDWR|O_CREAT|O_EXCL, 0600) = -1 ENOENT (No such file or directory)
write(2, "mkstemp: No such file or directo"..., 36mkstemp: No such
file or directory
Please notice the temporary file being created at
"~/.ssh/known_hosts.TgA5TDcI46"?
Looks like a tilde expansion...