diff options
author | Damien Miller <djm@mindrot.org> | 2008-02-10 22:46:22 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2008-02-10 22:46:22 +1100 |
commit | 520e61552a67c95dcf9b423241a0e4454ae911ef (patch) | |
tree | 447297218be1a40bbdb2fdf85e1306b557225eca /sshd.8 | |
parent | 70433b5d7310b03a02424fecf7f40a756fee22ae (diff) |
- mcbride@cvs.openbsd.org 2008/02/09 12:15:43
[ssh.1 sshd.8]
Document the correct permissions for the ~/.ssh/ directory.
ok jmc
Diffstat (limited to 'sshd.8')
-rw-r--r-- | sshd.8 | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -34,8 +34,8 @@ | |||
34 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 34 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
35 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 35 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
36 | .\" | 36 | .\" |
37 | .\" $OpenBSD: sshd.8,v 1.237 2007/06/07 19:37:34 pvalchev Exp $ | 37 | .\" $OpenBSD: sshd.8,v 1.238 2008/02/09 12:15:43 mcbride Exp $ |
38 | .Dd $Mdocdate: June 11 2007 $ | 38 | .Dd $Mdocdate: February 9 2008 $ |
39 | .Dt SSHD 8 | 39 | .Dt SSHD 8 |
40 | .Os | 40 | .Os |
41 | .Sh NAME | 41 | .Sh NAME |
@@ -682,6 +682,13 @@ This file is used in exactly the same way as | |||
682 | but allows host-based authentication without permitting login with | 682 | but allows host-based authentication without permitting login with |
683 | rlogin/rsh. | 683 | rlogin/rsh. |
684 | .Pp | 684 | .Pp |
685 | .It ~/.ssh/ | ||
686 | This directory is the default location for all user-specific configuration | ||
687 | and authentication information. | ||
688 | There is no general requirement to keep the entire contents of this directory | ||
689 | secret, but the recommended permissions are read/write/execute for the user, | ||
690 | and not accessible by others. | ||
691 | .Pp | ||
685 | .It ~/.ssh/authorized_keys | 692 | .It ~/.ssh/authorized_keys |
686 | Lists the public keys (RSA/DSA) that can be used for logging in as this user. | 693 | Lists the public keys (RSA/DSA) that can be used for logging in as this user. |
687 | The format of this file is described above. | 694 | The format of this file is described above. |