{"id":16713033,"url":"https://github.com/atesgoral/docker-ssh-totp","last_synced_at":"2025-10-25T22:04:39.205Z","repository":{"id":66662516,"uuid":"82326096","full_name":"atesgoral/docker-ssh-totp","owner":"atesgoral","description":"Docker image for experimenting with SSH via TOTP","archived":false,"fork":false,"pushed_at":"2017-02-22T21:27:52.000Z","size":3,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-21T20:48:34.784Z","etag":null,"topics":["docker","google-authenticator","mfa","ssh","totp"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/atesgoral.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-17T18:27:05.000Z","updated_at":"2023-10-21T10:23:31.000Z","dependencies_parsed_at":"2023-02-21T12:15:31.338Z","dependency_job_id":null,"html_url":"https://github.com/atesgoral/docker-ssh-totp","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/atesgoral%2Fdocker-ssh-totp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atesgoral%2Fdocker-ssh-totp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atesgoral%2Fdocker-ssh-totp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atesgoral%2Fdocker-ssh-totp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atesgoral","download_url":"https://codeload.github.com/atesgoral/docker-ssh-totp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243685783,"owners_count":20331018,"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":["docker","google-authenticator","mfa","ssh","totp"],"created_at":"2024-10-12T20:45:17.724Z","updated_at":"2025-10-25T22:04:39.123Z","avatar_url":"https://github.com/atesgoral.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"Docker image for experimenting with SSH via TOTP.\n\n* Ubuntu 16.10 (Yakkety Yak) - to use latest libpam-google-authenticator\n* ntp - to synch time\n* augeas-tools - for configuring stuff\n\n```\ndocker build .\ndocker run -it \u003cimage ID from previous step\u003e\n```\n\nOnce on the container, grab the generated secret key or just scan the QR code into your token generator app:\n\n```\n  █▀▀▀▀▀█  ▄▀▄ ▄▀▀█ █▀█ █▀   ▄▀█  ▀ █▀▀▀▀▀█\n  █ ███ █ █  ▄ ▄ ▄▄ ▄ ▀▄▄   ▀▄▀▀▀▀▀ █ ███ █\n  █ ▀▀▀ █ █▀  ▄▀▀▄▀ ▄ ██▄▀█ ▀███▀▀█ █ ▀▀▀ █\n  ▀▀▀▀▀▀▀ █ █▄▀▄█▄▀ ▀ ▀▄▀▄▀ ▀▄█ ▀ █ ▀▀▀▀▀▀▀\n  ▀ █▀▀█▀▄ ▀▄█▄ █ ▀▀▀█▄█▀▄ ▀  █▀█▄  █▀███ ▄\n  █ ▀▀▀ ▀█▄█   ▄▄  ▀▀ ███▄  ██▄▀▀▄ ▄▄█▄█▀▀▄\n  ▀▄ ▀▀█▀██    ▀ ▀  ▄ ▄██▀▄█▄█▄█ ▀▀▀▄▀▄▀▀\n  ▀█ █ ▄▀█▄█▄█▄ ██▄ ▀█▄▄  ▄ ▄ ▄ █ ▀  ▄▄▄▀\n    ▀ █ ▀███  ▀ ▄▄██▀█▄▄▄▄▀██   ▄▄▀ ▄█▄ ▀ ▄\n  ▄▄▀▄▄▄▀▀▄ ▄▀█▀▀▀ █▄▄ █▄  █▀█▄ ▀▄█  ▀██ ▀▄\n  █ █▄ ▀▀  █ ▀▄▀▀ ▀ ▄ ██▄▄▄▄▀▀▀▄▀█▄▀▄▀▄  ▄▄\n   ▄█ ▄█▀▄▄▀ ▀▄  ▄▄▀ ▄ █  ▄▀██▄▀ ▄▀█▄▀▄▄▀▄▄\n   ▀▄▀█ ▀ ▀▄ ▄▄██ ██▀▄▄▄▄█▀▀█▀█▀ ▄▀  ▄█▄▀ ▄\n\n  ▀▀ ▄ ▀▀▀▀ ▄▀▄▀ █ ▀█▄ █▀▄ ▀▄▀█▀█    █▀▄ █▄\n  ▄▀ ▀▄▄▀█▀ ▄▄ ▄█▀█ ▄ ▀▀▀▀▀ ▀▄▀█▄▀▄█ ▀▄▀▀▄\n  █  ▀▀▀▀▄▄██ █▀ ▀▄▀  ▀███▀▀▄█▀ ▀█▄▄ ▀▄▀▀ ▄\n  ▀ ▀▀▀ ▀ ▄▄ ▀██▀▄▄▀▀▄▄ ▄█ ▀█▀▀▄▄▀█▀▀▀██▀ █\n  █▀▀▀▀▀█ ▄ █  ▀ ▀  ▀▄▀ ▀▄▄ ▄███▄▄█ ▀ █▄▀█▄\n  █ ███ █ █▀▄▀ ▀▀ ▀ ▀▄▀█▀ ▀ ▄▀█ ▄ █▀▀▀▀\n  █ ▀▀▀ █ ▀██ ▀▀▄▀▀▀█ ▀▄▄  ▀ ██ ▄▄█▀█▀█▀▀▄\n  ▀▀▀▀▀▀▀ ▀  ▀▀ ▀▀▀ ▀   ▀ ▀▀▀▀ ▀ ▀  ▀ ▀▀▀\n\nYour new secret key is: E3EI65TA2YCJOEQFMG2ZO6XIE4\n```\n\nThen, just try SSHing into the container itself:\n\n```\nssh localhost\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatesgoral%2Fdocker-ssh-totp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatesgoral%2Fdocker-ssh-totp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatesgoral%2Fdocker-ssh-totp/lists"}