Re: Permissions on .ssh files Please.



Personally, I remove all permission to anyone other than the owner on
all of the files in there (chmod og-rwx), but by default here is a
listing (OpenSSH_4.3p2):

$ ls -lh .ssh/
total 16K
-rwxr-xr-x 1 ben ben 599 Mar 20 2006 authorized_keys
-rw------- 1 ben ben 672 Sep 26 00:19 id_dsa
-rw-r--r-- 1 ben ben 601 Sep 26 00:19 id_dsa.pub
-rw-r--r-- 1 ben ben 1.6K Sep 13 23:43 known_hosts

Also note that the id_dsa* files are only there if you generated them,
usually with ssh-keygen.

Regards,
Benjamin Koren

Reg Clemens wrote:
I know I have a listing somewhere that shows what the permissions should be
on the files in $HOME/.ssh , but cant find it for the life of me.

Can someone PLEASE point me at such a document, or just show what the
permissions should be.



Relevant Pages

  • Re: groups vs users
    ... , Dave Stratford wrote: ... owner would be the owner of the directory and NOT the primary ... The '2xxx' permission on a directory has been described upthread. ... The not-very-useful permissions of 2740 (SGID, but without the execute ...
    (comp.os.linux.setup)
  • Re: Object permissions
    ... you grant modify permission on the qryAttendanceActual query. ... trying to change the owner to a group or an individual, ... the query, they can actually open the query once the sql is set. ...
    (microsoft.public.access.security)
  • Re: Plutos OK
    ... copyright holder, to avoid a copyrighted item from becoming an orphan, thus ... making it impossible to legally get permission to copy. ... current owner is unknown. ... the permission of the copyright holder, ...
    (sci.space.history)
  • Re: Object permissions
    ... only the owner can set the RWOP property on a query. ... Once I removed that line from the sql, ... you grant modify permission on the qryAttendanceActual query. ...
    (microsoft.public.access.security)
  • Re: Object permissions
    ... objQDF.SQL= strSQLAttendance with the error about not having necessary ... implicit 'read and modify' permissions on the query. ... If I set up a new query with this user or their group as the owner, ... Especially when this code should work with only the modify permission ...
    (microsoft.public.access.security)