From: djm Date: Sun, 10 Feb 2008 11:46:22 +0000 (+0000) Subject: - mcbride@cvs.openbsd.org 2008/02/09 12:15:43 X-Git-Tag: V_4_9_P1~64 X-Git-Url: http://andersk.mit.edu/gitweb/openssh.git/commitdiff_plain/7c36e880d977ad8311b7711393fc0fa620aaa451 - mcbride@cvs.openbsd.org 2008/02/09 12:15:43 [ssh.1 sshd.8] Document the correct permissions for the ~/.ssh/ directory. ok jmc --- diff --git a/ChangeLog b/ChangeLog index d31b8ef7..0874ab3b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -71,6 +71,10 @@ - markus@cvs.openbsd.org 2008/02/04 21:53:00 [session.c sftp-server.c sftp.h] link sftp-server into sshd; feedback and ok djm@ + - mcbride@cvs.openbsd.org 2008/02/09 12:15:43 + [ssh.1 sshd.8] + Document the correct permissions for the ~/.ssh/ directory. + ok jmc 20080119 - (djm) Silence noice from expr in ssh-copy-id; patch from diff --git a/ssh.1 b/ssh.1 index 0eb097dd..857c58e0 100644 --- a/ssh.1 +++ b/ssh.1 @@ -34,7 +34,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $OpenBSD: ssh.1,v 1.271 2008/01/19 19:13:28 djm Exp $ +.\" $OpenBSD: ssh.1,v 1.272 2008/02/09 12:15:43 mcbride Exp $ .Dd $Mdocdate$ .Dt SSH 1 .Os @@ -1245,6 +1245,13 @@ This file is used in exactly the same way as but allows host-based authentication without permitting login with rlogin/rsh. .Pp +.It ~/.ssh/ +This directory is the default location for all user-specific configuration +and authentication information. +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. +.Pp .It ~/.ssh/authorized_keys Lists the public keys (RSA/DSA) that can be used for logging in as this user. The format of this file is described in the diff --git a/sshd.8 b/sshd.8 index 41939432..18ada40c 100644 --- a/sshd.8 +++ b/sshd.8 @@ -34,7 +34,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $OpenBSD: sshd.8,v 1.237 2007/06/07 19:37:34 pvalchev Exp $ +.\" $OpenBSD: sshd.8,v 1.238 2008/02/09 12:15:43 mcbride Exp $ .Dd $Mdocdate$ .Dt SSHD 8 .Os @@ -682,6 +682,13 @@ This file is used in exactly the same way as but allows host-based authentication without permitting login with rlogin/rsh. .Pp +.It ~/.ssh/ +This directory is the default location for all user-specific configuration +and authentication information. +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. +.Pp .It ~/.ssh/authorized_keys Lists the public keys (RSA/DSA) that can be used for logging in as this user. The format of this file is described above.