[Bug 3156] New: Prevent ~/.ssh creation

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Apr 30 05:56:44 AEST 2020


https://bugzilla.mindrot.org/show_bug.cgi?id=3156

            Bug ID: 3156
           Summary: Prevent ~/.ssh creation
           Product: Portable OpenSSH
           Version: 8.2p1
          Hardware: amd64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: ssh
          Assignee: unassigned-bugs at mindrot.org
          Reporter: alexandreprovencio at gmail.com

Hello Guys,
on my use case, i really don't need anything that is created on
`~/.ssh`, except for the `known_hosts` file.

I like the way the XDG specification works, so I tried changing the
value of UserKnownHostsFile to something like `~/.cache/known_hosts`
which works fine, but ssh still creates an empty `~/.ssh`.

Can it be avoided or is it really hardcoded?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list