In ssh_config(5):

     ~/.ssh/config
             This is the per-user configuration file.  The format of this file
             is described above.  This file is used by the SSH client.
             Because of the potential for abuse, this file must have strict
             permissions: read/write for the user, and not accessible by
             others.

"not accessible"

In ssh(1):

     ~/.ssh/config
             This is the per-user configuration file.  The file format and
             configuration options are described in ssh_config(5).  Because of
             the potential for abuse, this file must have strict permissions:
             read/write for the user, and not writable by others.

"not writable"


It would be better (IMHO) to mention explicit permissions, e.g. 600 (but
only if this is what the actual code of ssh is checking for, obviously).

Also, not being accessible could be seen as a consequence of ~/.ssh not
being accessible, which, if one disregarded the ssh(1) manual, could
possibly be interpreted as meaning having the file writable by others is
okay.

In any case, they should probably say the same thing.

-- 
Andreas Kusalananda Kähäri,
National Bioinformatics Infrastructure Sweden (NBIS),
Uppsala University, Sweden.

Reply via email to