Contextualise motley-cue and pam-ssh-oidc on a VM Server
Project description
contextualise-ssh-server
Contextualise motley-cue and pam-ssh-oidc on a VM Server
Installation
contextualise-ssh-server is available on PyPI. Install using pip
:
pip install contextualise_ssh_server
Configuration
Config is read from /etc/contextualise_ssh_server.conf
There is a default config file in the place where pip installs this package
There you will also find templates for motley_cue.conf and feudal_adapter.conf
Environment Variables
These control the behaviour:
-
SSH_AUTHORISE_OTHERS_IN_MY_VO
: If set to a nonempty value ALL members of ALL VOs of the user will be authorised to log in. -
SSH_AUTHORISE_VOS
: If the above variable is not set and this variable specifies a json list of VOs (actually AARC-G069/G027 Entitlements) to authorise.Example:
export SSH_AUTHORISE_VOS="['urn:mace:egi.eu:group:cryoem.instruct-eric.eu:admins:role=owner#aai.egi.eu', 'urn:mace:egi.eu:group:umsa.cerit-sc.cz:admins:role=owner#aai.egi.eu']
Usage
The tools will output the two config files motley_cue.conf
and
feudal_adapter.conf
in the folder in which it is called.
Those need to be placed in /etc/motley_cue
with the access token of the
user as the only parameter:
contextualise_ssh_server <OIDC_ACCESS_TOKEN>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for contextualise_ssh_server-0.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0846412d73a443aa79063f09b05731c8188163af2ff1633bc5bb9f6b40678eb3 |
|
MD5 | 95fa5115c993364bca43207f137c8130 |
|
BLAKE2b-256 | c873470b6c2e260a876cddd58eb3ee7f71cb92e89318a0a0d27eb7d07089be0e |
Hashes for contextualise_ssh_server-0.3.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 022cca162be5312ac9a3c9473c2ddc3e24b7f7d3736a2208969945aa49f8901b |
|
MD5 | 3f35d17d7e712bff0fcf87f7a2026dfa |
|
BLAKE2b-256 | 3fd40dbe806ed82414d27e4ba377acc6d6b357cd931ff0df7534bc13f34a901e |