Deleted Added
full compact
pathnames.h (181110) pathnames.h (192595)
1/* $OpenBSD: pathnames.h,v 1.16 2006/03/25 22:22:43 djm Exp $ */
1/* $OpenBSD: pathnames.h,v 1.17 2008/12/29 02:23:26 stevesk Exp $ */
2
3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
5 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
6 * All rights reserved
7 *
8 * As far as I am concerned, the code I have written for this software
9 * can be used freely for any purpose. Any derived versions of this

--- 39 unchanged lines hidden (view full) ---

49
50/*
51 * The process id of the daemon listening for connections is saved here to
52 * make it easier to kill the correct daemon when necessary.
53 */
54#define _PATH_SSH_DAEMON_PID_FILE _PATH_SSH_PIDDIR "/sshd.pid"
55
56/*
2
3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
5 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
6 * All rights reserved
7 *
8 * As far as I am concerned, the code I have written for this software
9 * can be used freely for any purpose. Any derived versions of this

--- 39 unchanged lines hidden (view full) ---

49
50/*
51 * The process id of the daemon listening for connections is saved here to
52 * make it easier to kill the correct daemon when necessary.
53 */
54#define _PATH_SSH_DAEMON_PID_FILE _PATH_SSH_PIDDIR "/sshd.pid"
55
56/*
57 * The directory in user\'s home directory in which the files reside. The
57 * The directory in user's home directory in which the files reside. The
58 * directory should be world-readable (though not all files are).
59 */
60#define _PATH_SSH_USER_DIR ".ssh"
61
62/*
63 * Per-user file containing host keys of known hosts. This file need not be
64 * readable by anyone except the user him/herself, though this does not
65 * contain anything particularly secret.

--- 6 unchanged lines hidden (view full) ---

72 * Name of the default file containing client-side authentication key. This
73 * file should only be readable by the user him/herself.
74 */
75#define _PATH_SSH_CLIENT_IDENTITY ".ssh/identity"
76#define _PATH_SSH_CLIENT_ID_DSA ".ssh/id_dsa"
77#define _PATH_SSH_CLIENT_ID_RSA ".ssh/id_rsa"
78
79/*
58 * directory should be world-readable (though not all files are).
59 */
60#define _PATH_SSH_USER_DIR ".ssh"
61
62/*
63 * Per-user file containing host keys of known hosts. This file need not be
64 * readable by anyone except the user him/herself, though this does not
65 * contain anything particularly secret.

--- 6 unchanged lines hidden (view full) ---

72 * Name of the default file containing client-side authentication key. This
73 * file should only be readable by the user him/herself.
74 */
75#define _PATH_SSH_CLIENT_IDENTITY ".ssh/identity"
76#define _PATH_SSH_CLIENT_ID_DSA ".ssh/id_dsa"
77#define _PATH_SSH_CLIENT_ID_RSA ".ssh/id_rsa"
78
79/*
80 * Configuration file in user\'s home directory. This file need not be
80 * Configuration file in user's home directory. This file need not be
81 * readable by anyone but the user him/herself, but does not contain anything
81 * readable by anyone but the user him/herself, but does not contain anything
82 * particularly secret. If the user\'s home directory resides on an NFS
82 * particularly secret. If the user's home directory resides on an NFS
83 * volume where root is mapped to nobody, this may need to be world-readable.
84 */
85#define _PATH_SSH_USER_CONFFILE ".ssh/config"
86
87/*
88 * File containing a list of those rsa keys that permit logging in as this
89 * user. This file need not be readable by anyone but the user him/herself,
83 * volume where root is mapped to nobody, this may need to be world-readable.
84 */
85#define _PATH_SSH_USER_CONFFILE ".ssh/config"
86
87/*
88 * File containing a list of those rsa keys that permit logging in as this
89 * user. This file need not be readable by anyone but the user him/herself,
90 * but does not contain anything particularly secret. If the user\'s home
90 * but does not contain anything particularly secret. If the user's home
91 * directory resides on an NFS volume where root is mapped to nobody, this
92 * may need to be world-readable. (This file is read by the daemon which is
93 * running as root.)
94 */
95#define _PATH_SSH_USER_PERMITTED_KEYS ".ssh/authorized_keys"
96
97/* backward compat for protocol v2 */
98#define _PATH_SSH_USER_PERMITTED_KEYS2 ".ssh/authorized_keys2"

--- 76 unchanged lines hidden ---
91 * directory resides on an NFS volume where root is mapped to nobody, this
92 * may need to be world-readable. (This file is read by the daemon which is
93 * running as root.)
94 */
95#define _PATH_SSH_USER_PERMITTED_KEYS ".ssh/authorized_keys"
96
97/* backward compat for protocol v2 */
98#define _PATH_SSH_USER_PERMITTED_KEYS2 ".ssh/authorized_keys2"

--- 76 unchanged lines hidden ---