[ssh.1 sshd.8]
     Document the correct permissions for the ~/.ssh/ directory.
     ok jmc
This commit is contained in:
Damien Miller 2008-02-10 22:46:22 +11:00
parent 70433b5d73
commit 520e61552a
3 changed files with 23 additions and 5 deletions

View File

@ -71,6 +71,10 @@
- markus@cvs.openbsd.org 2008/02/04 21:53:00 - markus@cvs.openbsd.org 2008/02/04 21:53:00
[session.c sftp-server.c sftp.h] [session.c sftp-server.c sftp.h]
link sftp-server into sshd; feedback and ok djm@ 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 20080119
- (djm) Silence noice from expr in ssh-copy-id; patch from - (djm) Silence noice from expr in ssh-copy-id; patch from
@ -3599,4 +3603,4 @@
OpenServer 6 and add osr5bigcrypt support so when someone migrates OpenServer 6 and add osr5bigcrypt support so when someone migrates
passwords between UnixWare and OpenServer they will still work. OK dtucker@ passwords between UnixWare and OpenServer they will still work. OK dtucker@
$Id: ChangeLog,v 1.4834 2008/02/10 11:29:40 djm Exp $ $Id: ChangeLog,v 1.4835 2008/02/10 11:46:22 djm Exp $

11
ssh.1
View File

@ -34,8 +34,8 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" 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: January 19 2008 $ .Dd $Mdocdate: February 9 2008 $
.Dt SSH 1 .Dt SSH 1
.Os .Os
.Sh NAME .Sh NAME
@ -1245,6 +1245,13 @@ This file is used in exactly the same way as
but allows host-based authentication without permitting login with but allows host-based authentication without permitting login with
rlogin/rsh. rlogin/rsh.
.Pp .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 .It ~/.ssh/authorized_keys
Lists the public keys (RSA/DSA) that can be used for logging in as this user. 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 The format of this file is described in the

11
sshd.8
View File

@ -34,8 +34,8 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" 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: June 11 2007 $ .Dd $Mdocdate: February 9 2008 $
.Dt SSHD 8 .Dt SSHD 8
.Os .Os
.Sh NAME .Sh NAME
@ -682,6 +682,13 @@ This file is used in exactly the same way as
but allows host-based authentication without permitting login with but allows host-based authentication without permitting login with
rlogin/rsh. rlogin/rsh.
.Pp .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 .It ~/.ssh/authorized_keys
Lists the public keys (RSA/DSA) that can be used for logging in as this user. Lists the public keys (RSA/DSA) that can be used for logging in as this user.
The format of this file is described above. The format of this file is described above.