summaryrefslogtreecommitdiff
path: root/sshd.8
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-06-05 20:25:05 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-06-05 20:25:05 +0000
commitbfb3a0e973214fabc1be744b8c7e4a89a0c5570c (patch)
tree8227151356ee10ae6762c42442f272b0db418973 /sshd.8
parente2595448766a4149bbd2652830d1b086a066af13 (diff)
- markus@cvs.openbsd.org 2001/05/20 17:20:36
[auth-rsa.c auth.c auth.h auth2.c servconf.c servconf.h sshd.8 sshd_config] configurable authorized_keys{,2} location; originally from peter@; ok djm@
Diffstat (limited to 'sshd.8')
-rw-r--r--sshd.841
1 files changed, 36 insertions, 5 deletions
diff --git a/sshd.8 b/sshd.8
index 02960b70b..a66dac54e 100644
--- a/sshd.8
+++ b/sshd.8
@@ -34,7 +34,7 @@
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.124 2001/05/19 19:43:57 stevesk Exp $ 37.\" $OpenBSD: sshd.8,v 1.125 2001/05/20 17:20:35 markus Exp $
38.Dd September 25, 1999 38.Dd September 25, 1999
39.Dt SSHD 8 39.Dt SSHD 8
40.Os 40.Os
@@ -331,6 +331,34 @@ wildcards in the patterns.
331Only user names are valid; a numerical user ID isn't recognized. 331Only user names are valid; a numerical user ID isn't recognized.
332By default login is allowed regardless of the user name. 332By default login is allowed regardless of the user name.
333.Pp 333.Pp
334.It Cm AuthorizedKeysFile
335Specifies the file that contains the public RSA keys that can be used
336for RSA authentication in protocol version 1.
337.Cm AuthorizedKeysFile
338may contain tokens of the form %T which are substituted during connection
339set-up. The following tokens are defined; %% is replaces by a literal '%',
340%h is replaced by the home directory of the user being authenticated and
341%u is replaced by the username of that user.
342After expansion,
343.Cm AuthorizedKeysFile
344is taken to be an absolute path or one realtive to the user's home
345directory.
346The default is
347.Dq .ssh/authorized_keys
348.It Cm AuthorizedKeysFile2
349Specifies the file that contains the public keys that can be used
350for public key authentication in protocol version 2.
351.Cm AuthorizedKeysFile2
352may contain tokens of the form %T which are substituted during connection
353set-up. The following tokens are defined; %% is replaces by a literal '%',
354%h is replaced by the home directory of the user being authenticated and
355%u is replaced by the username of that user.
356After expansion,
357.Cm AuthorizedKeysFile2
358is taken to be an absolute path or one realtive to the user's home
359directory.
360The default is
361.Dq .ssh/authorized_keys2
334.It Cm Banner 362.It Cm Banner
335In some jurisdictions, sending a warning message before authentication 363In some jurisdictions, sending a warning message before authentication
336may be relevant for getting legal protection. 364may be relevant for getting legal protection.
@@ -883,15 +911,18 @@ authentication protocol and cookie in standard input.
883Runs user's shell or command. 911Runs user's shell or command.
884.El 912.El
885.Sh AUTHORIZED_KEYS FILE FORMAT 913.Sh AUTHORIZED_KEYS FILE FORMAT
886The
887.Pa $HOME/.ssh/authorized_keys 914.Pa $HOME/.ssh/authorized_keys
888file lists the RSA keys that are 915is the default file that lists the RSA keys that are
889permitted for RSA authentication in protocol version 1. 916permitted for RSA authentication in protocol version 1.
890Similarly, the 917.Cm AuthorizedKeysFile
918may be used to specify an alternative file.
919Similarly,
891.Pa $HOME/.ssh/authorized_keys2 920.Pa $HOME/.ssh/authorized_keys2
892file lists the DSA and RSA keys that are 921is the default file that lists the DSA and RSA keys that are
893permitted for public key authentication (PubkeyAuthentication) 922permitted for public key authentication (PubkeyAuthentication)
894in protocol version 2. 923in protocol version 2.
924.Cm AuthorizedKeysFile2
925may be used to specify an alternative file.
895.Pp 926.Pp
896Each line of the file contains one 927Each line of the file contains one
897key (empty lines and lines starting with a 928key (empty lines and lines starting with a