I’m using GNOME desktop.
I had heard that deleting some of home’s hidden directories such as .config, .local, etc lead to all class of problems and breaking in the desktop or the whole user.
Today I accidentally deleted my ~/.ssh directory. Even though I always keep its contents empty after using ssh sessions, I feel a bit uneasy whether .ssh directory created by openSUSE installation by default could be different of the one I manually create.
Even though I created it back just by logging in a remote server with ssh and letting .ssh to be created.
I don’t know what permissions openSUSE installer gives by default to home directories, or if it gives them other “special” features such as the selinux dot ‘.’ at the end of permissions, just like Centos.
I apologize beforehand for yet another question like this, but, I would appreciate very much if you could help me again. Even though I have been trying to work on this, I still need someone’s help to stay relatively easy.
AFAIK, the ‘~/.ssh/’ directory is not added by default to new user’s home directories: it ain’t in ‘/etc/skel/’ . . .
I’ve personally never had to create the thing manually; AFAICS ‘ssh’ creates the thing if it ain’t there; there doesn’t seem to be an ‘ssh’ option to place the ‘~/.ssh/’ directory somewhere else; only options to select the ‘config’ and ‘identity’ files are mentioned; and, an environment variable to move the ‘~/.ssh/’ directory somewhere else also doesn’t seem to be present.
This directory is the default location for all user-specific configuration and authentication informa-
tion. There is no general requirement to keep the entire contents of this directory secret, but the
recommended permissions are read/write/execute for the user, and not accessible by others.