3 ms·
> OpenSSH will refuse to use a key to connect to any server if said file is readable by any user but yourself I actually think that this assumption is the prob
by shevy-java 7mo ago
> OpenSSH will refuse to use a key to connect to any server if said file is readable by any user but yourself
I actually think that this assumption is the problem. This assumes
a certain problem that, in this example here, was not the real
problem. So the whole assumption that openssh refuses a connection
in this case, was the wrong assumption to make. This is a design
mistake, IMO; I understand the rationale but I disagree with it
leading to being unable to connect. I have had similar problems
with assumptions before, e. g. "if you are the super-user, we do
not allow you to start X; you must be a regular user and use sudo".
This is IMO also the wrong design approach - the very idea to
restrict what the superuser can do. KDE used to have added an
extra #define macro to refuse to be started when the superuser
tries to use KDE. This is also the wrong design abstraction -
people writing the code not understanding the basic permission
system in *nix. (It only were a few #defines in the C++ code, so people could just remove it then recompile the thing and it suddenly worked like pure magic. I had that in some KDE editor, I forgot which one; I think it was kate. Been many years by now.)