Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
django-sshkey
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b48cf674
authored
Mar 26, 2014
by
Scott Duckworth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
attempt to fix rst rendering on bitbucket
parent
8ffef33a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
23 deletions
+23
-23
README.rst
+23
-23
No files found.
README.rst
View file @
b48cf674
...
@@ -95,12 +95,12 @@ server.
...
@@ -95,12 +95,12 @@ server.
This program:
This program:
* can be used directly with ``AuthorizedKeysCommand`` (the username
* can be used directly with ``AuthorizedKeysCommand`` (the username parameter
parameter
is ignored).
is ignored).
* does not require a patched OpenSSH server.
* does not require a patched OpenSSH server.
* does not scale well to a large number of user keys.
* does not scale well to a large number of user keys.
Using ``django-sshkey-lookup-by-username``
Using ``django-sshkey-lookup-by-username``
------------------------------------------
------------------------------------------
...
@@ -112,11 +112,11 @@ user.
...
@@ -112,11 +112,11 @@ user.
This program:
This program:
* can be used directly with ``AuthorizedKeysCommand``.
* can be used directly with ``AuthorizedKeysCommand``.
* does not require a patched OpenSSH server.
* does not require a patched OpenSSH server.
* is ideal if each Django user corresponds to a system user account.
* is ideal if each Django user corresponds to a system user account.
Using ``django-sshkey-lookup-by-fingerprint``
Using ``django-sshkey-lookup-by-fingerprint``
---------------------------------------------
---------------------------------------------
...
@@ -126,30 +126,30 @@ Using ``django-sshkey-lookup-by-fingerprint``
...
@@ -126,30 +126,30 @@ Using ``django-sshkey-lookup-by-fingerprint``
This program prints all SSH public keys that match the given fingerprint. The
This program prints all SSH public keys that match the given fingerprint. The
fingerprint is determined by the first of the following that is found:
fingerprint is determined by the first of the following that is found:
1. The ``SSH_KEY_FINGERPRINT`` environment variable, which should contain
1. The ``SSH_KEY_FINGERPRINT`` environment variable, which should contain the
the
MD5 fingerprint of the key (this is the second field generated by
MD5 fingerprint of the key (this is the second field generated by
``ssh-keygen -l``).
``ssh-keygen -l``).
2. The ``SSH_KEY`` environment variable, which should contain the key in
2. The ``SSH_KEY`` environment variable, which should contain the key in
standard openssh format (the same format as ``~/.ssh/id_rsa.pub``), is
standard openssh format (the same format as ``~/.ssh/id_rsa.pub``), is sent
sent
to ``ssh-keygen -l`` to determine the fingerprint.
to ``ssh-keygen -l`` to determine the fingerprint.
3. The key in standard openssh format is read from standard input and is
3. The key in standard openssh format is read from standard input and is sent
sent
to ``ssh-keygen -l`` to determine the fingerprint.
to ``ssh-keygen -l`` to determine the fingerprint.
This program:
This program:
* can be used directly with ``AuthorizedKeysCommand`` (the username
* can be used directly with ``AuthorizedKeysCommand`` (the username parameter
parameter
is ignored).
is ignored).
* requires a patched OpenSSH server; compatible patches can be found at one
* requires a patched OpenSSH server; compatible patches can be found at one of
of
the following locations:
the following locations:
- openssh-akcenv_ (this is the preferred patch)
- openssh-akcenv_ (this is the preferred patch)
- openssh-stdinkey_
- openssh-stdinkey_
* is ideal if you want all Django users to access SSH via a shared system
* is ideal if you want all Django users to access SSH via a shared system user
user
account and be identified by their SSH public key.
account and be identified by their SSH public key.
Using ``django-sshkey-lookup``
Using ``django-sshkey-lookup``
------------------------------
------------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment