{"id":13725764,"url":"https://github.com/tailscale/pam","last_synced_at":"2025-04-15T17:43:15.207Z","repository":{"id":42366175,"uuid":"414393147","full_name":"tailscale/pam","owner":"tailscale","description":"An experimental, work-in-progress PAM module for Tailscale","archived":false,"fork":false,"pushed_at":"2022-11-01T18:24:55.000Z","size":84,"stargazers_count":141,"open_issues_count":0,"forks_count":4,"subscribers_count":27,"default_branch":"main","last_synced_at":"2025-04-11T16:18:52.906Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tailscale.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null}},"created_at":"2021-10-06T22:44:55.000Z","updated_at":"2025-03-28T06:19:57.000Z","dependencies_parsed_at":"2023-01-21T06:46:25.441Z","dependency_job_id":null,"html_url":"https://github.com/tailscale/pam","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailscale%2Fpam","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailscale%2Fpam/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailscale%2Fpam/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailscale%2Fpam/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tailscale","download_url":"https://codeload.github.com/tailscale/pam/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249121960,"owners_count":21216217,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T01:02:34.224Z","updated_at":"2025-04-15T17:43:15.173Z","avatar_url":"https://github.com/tailscale.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# Experimental Tailscale PAM Module\n\n[![status: experimental](https://img.shields.io/badge/status-experimental-blue)](https://tailscale.com/kb/1167/release-stages/#experimental)\n\nThis is a very very experimental Tailscale\n[PAM](https://en.wikipedia.org/wiki/Linux_PAM) module that allows you to SSH\nusing your Tailscale credentials. This is a response to\n[tailscale/tailscale#3006](https://github.com/tailscale/tailscale/issues/3006).\n\n# \u003cbig\u003e DO NOT USE THIS IN PRODUCTION YET \u003c/big\u003e\n\nThis code is unaudited, not fully tested and is not known to be secure. This is\ncurrently a proof of concept and is not made with the intent to be used yet.\n\nEnjoy this preview into the future of auth.\n\n## Installation Instructions\n\n1. Install Rust through your favorite method (most of the time you can probably\n   get away with using [rustup](https://rustup.rs/)).\n1. On Ubuntu run this command: `sudo apt-get install build-essential git\n   libpam0g-dev`. On other distributions you will need to figure this out on\n   your own.\n1. Install `cargo-deb`: `cargo install cargo-deb`..\n1. Build the debian package: `cargo-deb -p pam_tailscale`.\n1. Install it on your target host.\n1. Enable sshd ChallengeResponseAuthentication with this magic sed command:\n   `sed -i 's/^ChallengeResponseAuthentication.*/ChallengeResponseAuthentication yes/' /etc/ssh/sshd_config`.\n1. Reload your sshd config: `systemctl reload sshd`.\n1. SSH into your new machine!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftailscale%2Fpam","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftailscale%2Fpam","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftailscale%2Fpam/lists"}