Compare commits
2 Commits
58e033e16e
...
2b9c0556a4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2b9c0556a4 | ||
|
|
3c889513e9 |
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,3 +1,6 @@
|
||||
password.txt
|
||||
certs/
|
||||
secrets/
|
||||
db/
|
||||
|
||||
ca.json
|
||||
15
README.md
15
README.md
@@ -18,6 +18,8 @@ step ca init --ssh --acme
|
||||
|
||||
## SSH Certificates
|
||||
|
||||
### Server
|
||||
|
||||
Use step-ca to sign an existing public key to produce a signed certificate with some principals on it.
|
||||
|
||||
```
|
||||
@@ -42,3 +44,16 @@ HostKey /etc/ssh/ssh_host_ed25519_key
|
||||
HostCertificate /etc/ssh/ssh_host_ed25519_key-cert.pub
|
||||
EOF
|
||||
```
|
||||
|
||||
```
|
||||
systemctl reload sshd
|
||||
```
|
||||
|
||||
### Client
|
||||
|
||||
```
|
||||
step ssh certificate --sign \
|
||||
--principal root --principal john \
|
||||
--provisioner admin \
|
||||
john@john-pc-ubuntu ~/.ssh/id_ed25519.pub
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user