{"id":15689770,"url":"https://github.com/liamg/sshotp","last_synced_at":"2025-05-07T23:08:17.346Z","repository":{"id":49828409,"uuid":"176516817","full_name":"liamg/sshotp","owner":"liamg","description":"Enter passwords to commands non-interactively","archived":false,"fork":false,"pushed_at":"2023-02-24T18:13:35.000Z","size":2874,"stargazers_count":10,"open_issues_count":1,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-07T23:08:11.773Z","etag":null,"topics":["non-interactive","password","ssh","sshpass"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/liamg.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":"2019-03-19T13:22:18.000Z","updated_at":"2025-04-21T01:09:10.000Z","dependencies_parsed_at":"2024-10-30T22:35:50.005Z","dependency_job_id":null,"html_url":"https://github.com/liamg/sshotp","commit_stats":{"total_commits":12,"total_committers":1,"mean_commits":12.0,"dds":0.0,"last_synced_commit":"6ff072dacc788d9379d8bad0dd42e23e1d78d136"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liamg%2Fsshotp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liamg%2Fsshotp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liamg%2Fsshotp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liamg%2Fsshotp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liamg","download_url":"https://codeload.github.com/liamg/sshotp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252968118,"owners_count":21833251,"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":["non-interactive","password","ssh","sshpass"],"created_at":"2024-10-03T18:04:26.304Z","updated_at":"2025-05-07T23:08:17.326Z","avatar_url":"https://github.com/liamg.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SSHOTP: Automatic entry of non-interactive passwords\n\nAutopass is essentially a go implementation of [sshpass](https://linux.die.net/man/1/sshpass), though unlike sshpass it doesn't restrict itself to SSH logins. It can supply a password to any process with an identifiable password prompt.\n\n**Do not use this unless you understand the risks involved - ssh prompts for a password interactively for a reason!**\n\nThe original use case for this was needing to automate the acquisition and use of an SSH OTP (via vault) in a nice script.\n\n## Requirements\n\n- Mac/Linux\n- Go 1.11+ (to build)\n\n## Install\n\n```bash\ngo get -u github.com/liamg/sshotp\n```\n\n## Example\n\n```bash\nsshotp --password mypassword123 \"ssh me@myserver.mine -p 2222\"\n```\n\n## Usage\n\n```\nUsage:\n  sshotp [flags]\n\nFlags:\n      --disable-ssh-host-confirm   sshotp will automatically confirm the authenticity of SSH hosts unless this option is specified\n      --env                        use value of $SSHOTP environment variable as password\n  -h, --help                       help for autopass\n      --password string            plaintext password (not recommended)\n      --timeout duration           timeout length to wait for prompt/confirmation (default 10s)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliamg%2Fsshotp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliamg%2Fsshotp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliamg%2Fsshotp/lists"}