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.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | da4e383df206a002e7110b5138d1a1cbed5109dc3d3772af0576dc178c8a1f30 |
|
MD5 | a038ee25f39e2d4bcf923d80fc918e0f |
|
BLAKE2b-256 | ee5efcc6f352ade1f50532e04192cc883fea89daf36e1becd43812d0131325be |
Hashes for contextualise_ssh_server-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7255ad3fb3acbea47433ff8c5204246b898424bcb3e97d4f7b3d0655e26cc9cb |
|
MD5 | 721797a8dcebb16a0227623acb4bd8ad |
|
BLAKE2b-256 | 74349a597166ff2764c48610ef933dc9d72f11c1afc8e8bc9dad1c4040cc56cc |