forked from nbeguier/cassh
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from leboncoin/1_6_0
v1.6.0
- Loading branch information
Showing
3 changed files
with
239 additions
and
143 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,7 +75,7 @@ cassh add | |
|
||
Sign pub key : | ||
``` | ||
cassh sign [--display-only] [--uid=UID] [--force] | ||
cassh sign [--display-only] [--force] | ||
``` | ||
|
||
Get public key status : | ||
|
@@ -121,6 +121,30 @@ cassh admin <username> set --set='expiry=+7d' | |
cassh admin <username> set --set='principals=username,root' | ||
``` | ||
|
||
#### Configuration file | ||
|
||
```ini | ||
[user] | ||
# name : this is the username you will use to log on every server | ||
name = user | ||
# key_path: This key path won\'t be used to log in, a copy will be made for the certificate. | ||
# We assume that `${key_path}` exists and `${key_path}.pub` as well. | ||
# WARNING: Never delete these keys | ||
key_path = ~/.ssh/id_rsa | ||
# key_signed_path: Every signed key via cassh will be put in this path. | ||
# At every sign, `${key_signed_path}` and `${key_signed_path}.pub` will be created | ||
key_signed_path = ~/.ssh/id_rsa-cert | ||
# url : URL of cassh server-side backend. | ||
url = https://cassh.net | ||
# [OPTIONNAL] timeout : requests timeout parameter in second. (timeout=2) | ||
# timeout = 2 | ||
# [OPTIONNAL] verify : verifies SSL certificates for HTTPS requests. (verify=True) | ||
# verify = True | ||
|
||
[ldap] | ||
# realname : this is the LDAP/AD login user | ||
realname = [email protected] | ||
``` | ||
|
||
|
||
## Install | ||
|
@@ -171,7 +195,7 @@ ssh-keygen -k -f /etc/cassh-server/krl/revoked-keys | |
``` | ||
|
||
|
||
```bash | ||
```ini | ||
# cassh.conf | ||
[main] | ||
ca = /etc/cassh-server/ca/id_rsa_ca | ||
|
Oops, something went wrong.