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
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
d9fc37d7
authored
Jun 10, 2013
by
Scott Duckworth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clean up formatting
parent
f53016c3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
README.md
+5
-2
No files found.
README.md
View file @
d9fc37d7
...
@@ -19,11 +19,14 @@ In order to associate an incoming public key with a user you must define
...
@@ -19,11 +19,14 @@ In order to associate an incoming public key with a user you must define
SSHKEY
\_
AUTHORIZED
\_
KEYS
\_
COMMAND in your project's settings.py. This should
SSHKEY
\_
AUTHORIZED
\_
KEYS
\_
COMMAND in your project's settings.py. This should
be a string containing the command which is run after successful
be a string containing the command which is run after successful
authentication, with "{username}" being replaced with the username of the user
authentication, with "{username}" being replaced with the username of the user
associated with the incoming public key. For instance:
associated with the incoming public key.
For instance:
> SSHKEY\_AUTHORIZED\_KEYS\_COMMAND = 'my-command {username}'
> SSHKEY\_AUTHORIZED\_KEYS\_COMMAND = 'my-command {username}'
will cause keys produced by the below commands to look similar to:
in settings.py will cause keys produced by the below commands to look similar
to:
> command="my-command fred" ssh-rsa BLAHBLAHBLAH
> command="my-command fred" ssh-rsa BLAHBLAHBLAH
...
...
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