Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
ssh-ca
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nimrod
ssh-ca
Commits
c2d90b8d
Commit
c2d90b8d
authored
9 years ago
by
nimrod
Browse files
Options
Downloads
Patches
Plain Diff
- Document changes (not enough documentation though, enough to merge to master).
parent
30e0c0a3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.rst
+8
-7
8 additions, 7 deletions
README.rst
with
8 additions
and
7 deletions
README.rst
+
8
−
7
View file @
c2d90b8d
...
@@ -9,26 +9,27 @@ Installation
...
@@ -9,26 +9,27 @@ Installation
------------
------------
.. code:: shell
.. code:: shell
git clone https://www.shore.co.il/
c
git/ssh-ca
git clone https://www.shore.co.il/git/ssh-ca
cd ssh-ca
cd ssh-ca
sudo make install
sudo make install
Usage
Usage
-----
-----
To start a new certificate authority
To start a new certificate authority (creates an RSA keypair for signing
purposes and hosts and users directories)
.. code:: shell
.. code:: shell
ssh-ca init
ssh-ca init
To sign a user's public key
To sign a user's public key
(found under users/<username>/id_*.pub)
.. code:: shell
.. code:: shell
ssh-ca signuser username
ssh-ca signuser username
To sign a host
s
's public key
To sign a host's public key
(found under hosts/<hostname>/ssh_host_*.pub)
.. code:: shell
.. code:: shell
...
@@ -88,7 +89,7 @@ Development
...
@@ -88,7 +89,7 @@ Development
To ease development :code:`make clean`, :code:`make lint` and :code:`make test`
To ease development :code:`make clean`, :code:`make lint` and :code:`make test`
are available. It's recommended to add :code:`make lint` and :code:`make test`
are available. It's recommended to add :code:`make lint` and :code:`make test`
to to your Git pre-commit and pre-push hooks acco
u
rdingly. Also, this repo has
to to your Git pre-commit and pre-push hooks accordingly. Also, this repo has
`pre-commit <http://pre-commit.com/>`_ configured.
`pre-commit <http://pre-commit.com/>`_ configured.
License
License
...
@@ -103,9 +104,9 @@ Author
...
@@ -103,9 +104,9 @@ Author
Nimrod Adar, `contact me <nimrod@shore.co.il>`_ or visit my `website
Nimrod Adar, `contact me <nimrod@shore.co.il>`_ or visit my `website
<https://www.shore.co.il/>`_. Patches are welcome via `git send-email
<https://www.shore.co.il/>`_. Patches are welcome via `git send-email
<http://git-scm.com/book/en/v2/Git-Commands-Email>`_. The repository is located
<http://git-scm.com/book/en/v2/Git-Commands-Email>`_. The repository is located
at: https://www.shore.co.il/
c
git/.
at: https://www.shore.co.il/git/.
TODO
TODO
----
----
-
Generating RSA, DSA and ECDSA keys (especially for hosts)
.
-
Better, more thorough documentation
.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment