{"id":13739795,"url":"https://github.com/goerz/tmuxpair","last_synced_at":"2025-10-16T09:48:47.340Z","repository":{"id":57476020,"uuid":"49024044","full_name":"goerz/tmuxpair","owner":"goerz","description":"Command line script for setting up a temporary tmux session for pair programming","archived":false,"fork":false,"pushed_at":"2021-06-22T17:34:23.000Z","size":22,"stargazers_count":46,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-08-19T04:50:21.858Z","etag":null,"topics":["cli","pair-programming","ssh","terminal","tmux"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/goerz.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-04T21:23:46.000Z","updated_at":"2025-01-24T04:16:11.000Z","dependencies_parsed_at":"2022-09-07T14:10:19.445Z","dependency_job_id":null,"html_url":"https://github.com/goerz/tmuxpair","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/goerz/tmuxpair","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goerz%2Ftmuxpair","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goerz%2Ftmuxpair/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goerz%2Ftmuxpair/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goerz%2Ftmuxpair/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/goerz","download_url":"https://codeload.github.com/goerz/tmuxpair/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goerz%2Ftmuxpair/sbom","scorecard":{"id":433653,"data":{"date":"2025-08-11","repo":{"name":"github.com/goerz/tmuxpair","commit":"a8d98d2ff25a7c4fe54bb4e8472efad41a2376ae"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Code-Review","score":0,"reason":"Found 0/26 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'develop'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-19T04:02:23.176Z","repository_id":57476020,"created_at":"2025-08-19T04:02:23.176Z","updated_at":"2025-08-19T04:02:23.176Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279174673,"owners_count":26119318,"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","status":"online","status_checked_at":"2025-10-16T02:00:06.019Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cli","pair-programming","ssh","terminal","tmux"],"created_at":"2024-08-03T04:00:37.726Z","updated_at":"2025-10-16T09:48:47.316Z","avatar_url":"https://github.com/goerz.png","language":"Python","funding_links":[],"categories":["\u003ca name=\"tools\"\u003e\u003c/a\u003eTools and session management"],"sub_categories":[],"readme":"# tmuxpair #\n\n[![Build Status](https://travis-ci.org/goerz/tmuxpair.svg)](https://travis-ci.org/goerz/tmuxpair)\n\nCommand line script for setting up a temporary tmux session for pair\nprogramming.\n\n© 2016 by [Michael Goerz](http://michaelgoerz.net). This software is available\nunder the terms of the [MIT license][LICENSE].\n\n[LICENSE]: LICENSE\n\n## Installation \u0026 Usage ##\n\nUsing [virtualenv][]/[pipsi][]/[conda env][] is recommended. Install the\n`tmuxpair` executable with\n\n    pip install tmuxpair\n\n[virtualenv]: http://docs.python-guide.org/en/latest/dev/virtualenvs/\n[pipsi]: https://github.com/mitsuhiko/pipsi#pipsi\n[conda env]: http://conda.pydata.org/docs/using/envs.html\n\nRun `tmuxpair -h` for usage details.\n\n## Reasonably Secure Pair Programming ##\n\n[A simple yet powerful way][1] for pair programming is to have a partner connect\nto a tmux session on your machine. However, this implies that you give them SSH\naccess, with the obvious security implications: Your partner now\nhas complete control over your user account. They could use `scp` to copy any of\nyour files, read your email, or [pull a prank on you][2] by messing with your\n`.bashrc`.\n\nWhile you should probably only engage in pair programming with people that you\nplace a certain minimum amount of trust in, it would be nice to eliminate at\nleast the obvious ways for your partner to do anything behind your back.\n`tmuxpair` achieves this by using [key-based authentication][3] together with the\nfeature of SSH to [limit a key to a specific command][4]. This follows the\napproach outlined in [Tres Trantham’s blog post][5]. Note that we also lock down\n`scp` access and port forwarding (which could allow your partner to access any\nfirewalled server on your network).\n\nWe can go a little further in ensuring only supervised access by strictly\nlimiting your partner’s connection to the duration of the pair-programming\nsession.`tmuxpair` does this by by wrapping `tmux`; when you run e.g.\n\n    tmuxpair partner_key.pub\n\nthe public key in the file `partner_key.pub` is *temporarily* appended to your\n`~/.ssh/authorized_keys` file (with the appropriate options), and `tmuxpair`\nattaches to a tmux session “pair”. As soon as the session ends – or you detach\nfrom it! – your partner’s SSH connection is closed and the original\n`authorized_keys` file is restored.\n\nOf course, if your partner were sufficiently determined to break into your\nsystem, they could still manage to do so. Our assumption here is that\n*supervised* access is “reasonably secure” in most environments. If your partner\ndoes not need write access, `tmuxpair` provides a view-only mode that should not\nleave any security loopholes.\n\nSecurity could be enhanced further by running the tmux session under a separate\nand dedicated account instead of your normal user account. However, the purpose\nof the `tmuxpair` script is to provide a robust solution that allows you to\nquickly share a terminal with a colleague, *without* any further setup.\n\n\n[1]: https://blog.pivotal.io/pivotal-labs/labs/how-we-use-tmux-for-remote-pair-programming\n[2]: http://unix.stackexchange.com/questions/232/unix-linux-pranks\n[3]: https://www.digitalocean.com/community/tutorials/how-to-configure-ssh-key-based-authentication-on-a-linux-server\n[4]: https://en.m.wikibooks.org/wiki/OpenSSH/Client_Configuration_Files#.7E.2F.ssh.2Fauthorized_keys\n[5]: http://collectiveidea.com/blog/archives/2014/02/18/a-simple-pair-programming-setup-with-ssh-and-tmux/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoerz%2Ftmuxpair","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoerz%2Ftmuxpair","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoerz%2Ftmuxpair/lists"}