Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

Re: Permissions on .ssh files Please.

Subject: Re: Permissions on .ssh files Please.
Date: Tue, 26 Sep 2006 00:22:28 -0500
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.

<Prev in Thread] Current Thread [Next in Thread>