Git Product home page Git Product logo

pam-ssh's Introduction

Description

pam_ssh and libnss_mapiamname modules enable the user to log in remotely to the server system by using an external IAM authentication system(s).

The main idea is based on using the IAM provider's API to generate/obtain and validate short-term (usually several minutes) token and then to verify one by the pam_ssh installed as addidional plugin authentication module (PAM) and then to map username obtained from selected identity provider to a local system username (libnss_mapiamname).

Obtaining the token itself is possible in several ways (e.g. following device flow) ways. At the time of login (authentication), the local system starts the process of checking the rules stored in /etc/pam.d/sshd file (in case of Ubuntu). If properly configured, pam_ssh.so module will be used as first in the authentication stack.

Working configuration requires that users who will be authenticated using new method need to belong to a specific system user group (e.g. deep) and all the username mappings need to be stored in /etc/pam_nss.conf file. This file is commonly used by PAM and NSS. The PAM reads the url address at which the token will be validated, while the NSS provides the mappings.

The full procedure for installing and configuring pam_ssh and libnss_mapiamname is given in modules’ folders (please keep in mind presented configurations assume that deep user group and releveant local/mapped users have been already created).

pam-ssh's People

Contributors

damian1976 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.