feat: v1.10.0, SSH CA works
This commit is contained in:
23
README.md
23
README.md
@@ -173,6 +173,29 @@ $ card-cli pgp-age-address
|
||||
[OK ] Age address: age10l464vxcpnkjguctvylnmp5jg4swhncn4quda0qxta3ud8pycc0qeaj2te
|
||||
```
|
||||
|
||||
# SSH CA
|
||||
|
||||
## Generate SSH root CA
|
||||
|
||||
```shell
|
||||
card-cli ssh-pub-key --ca -s r15
|
||||
```
|
||||
|
||||
Outputs:
|
||||
```
|
||||
cert-authority,principals="root" ecdsa-sha2-nistp384 AAAAE2VjZHNh****** Yubikey-PIV-R15
|
||||
```
|
||||
|
||||
## Generate SSH user CA
|
||||
|
||||
```shell
|
||||
ssh-keygen -f id_user
|
||||
|
||||
card-cli ssh-piv-cert --pub id_user.pub -s r15
|
||||
|
||||
ssh -i id_user root@example.com
|
||||
```
|
||||
|
||||
|
||||
<br><br>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user