https://bugzilla.mindrot.org/show_bug.cgi?id=3789
Bug ID: 3789 Summary: Follow symlinks on saving keys from ssh-keygen Product: Portable OpenSSH Version: 9.9p1 Hardware: Other OS: Linux Status: NEW Severity: enhancement Priority: P5 Component: ssh-keygen Assignee: unassigned-b...@mindrot.org Reporter: dbely...@redhat.com ssh-keygen does not create the .ssh directory for alternate homes e.g. # ln -s /root /altroot # ls -l /root/.ssh # ssh-keygen -t rsa -f /altroot/.ssh/rsa.key -N "" Generating public/private rsa key pair. Saving key "/altroot/.ssh/rsa.key" failed: No such file or directory Looks like we can use, e.g. sftp_realpath for normalizing the path -- You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ openssh-bugs mailing list openssh-bugs@mindrot.org https://lists.mindrot.org/mailman/listinfo/openssh-bugs