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.
Ideally it is called 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.1.1.dev1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0106502a2a857d684fc6d7d7e4043d33fae9402cc90880ee91990c8022c788a0 |
|
MD5 | bbd3b20e4b00757070f417a1486f6baf |
|
BLAKE2b-256 | efabc584aaf0fe1730561631048ab8b21ec72fe400ef7005f1ead54a3b30c70d |
Hashes for contextualise_ssh_server-0.1.1.dev1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5a40778f199e52c32498008c214b9003785ec4c0076442561b13a0bc72718cb |
|
MD5 | 324cfdc7f8de82f01cf24e2f439a681f |
|
BLAKE2b-256 | 40062cd5853115a4633f0bde9edec9426ac02e47d0aa69a0b5b8a49187455e4b |