{"id":26232572,"url":"https://github.com/bulletmark/docker-machine-add-ssh","last_synced_at":"2025-12-28T22:38:48.899Z","repository":{"id":57423282,"uuid":"252094376","full_name":"bulletmark/docker-machine-add-ssh","owner":"bulletmark","description":"Adds docker-machine ssh configuration to your personal ssh configuration.","archived":false,"fork":false,"pushed_at":"2025-08-15T05:02:37.000Z","size":49,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-27T19:01:53.064Z","etag":null,"topics":["docker","docker-machine","ssh"],"latest_commit_sha":null,"homepage":"","language":"Python","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/bulletmark.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,"zenodo":null}},"created_at":"2020-04-01T06:46:16.000Z","updated_at":"2025-08-15T05:02:40.000Z","dependencies_parsed_at":"2025-06-14T01:33:47.250Z","dependency_job_id":null,"html_url":"https://github.com/bulletmark/docker-machine-add-ssh","commit_stats":{"total_commits":14,"total_committers":1,"mean_commits":14.0,"dds":0.0,"last_synced_commit":"d4384e80a1c249119bc0e7015c5e25981784bbdc"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/bulletmark/docker-machine-add-ssh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bulletmark%2Fdocker-machine-add-ssh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bulletmark%2Fdocker-machine-add-ssh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bulletmark%2Fdocker-machine-add-ssh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bulletmark%2Fdocker-machine-add-ssh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bulletmark","download_url":"https://codeload.github.com/bulletmark/docker-machine-add-ssh/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bulletmark%2Fdocker-machine-add-ssh/sbom","scorecard":{"id":86609,"data":{"date":"2025-08-11","repo":{"name":"github.com/bulletmark/docker-machine-add-ssh","commit":"0dd539f6e47e352d3bc0f4e5156b03ea29cf81ed"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"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":"Code-Review","score":0,"reason":"Found 0/22 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":"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":"Maintained","score":0,"reason":"1 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":"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":"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":"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":"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":"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":"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":"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":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"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 'master'"],"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-15T07:03:56.619Z","repository_id":57423282,"created_at":"2025-08-15T07:03:56.619Z","updated_at":"2025-08-15T07:03:56.619Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28105474,"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-12-28T02:00:05.685Z","response_time":62,"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":["docker","docker-machine","ssh"],"created_at":"2025-03-13T00:37:31.552Z","updated_at":"2025-12-28T22:38:48.893Z","avatar_url":"https://github.com/bulletmark.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## DOCKER-MACHINE ADD SSH\n[![PyPi](https://img.shields.io/pypi/v/docker-machine-add-ssh)](https://pypi.org/project/docker-machine-add-ssh/)\n[![AUR](https://img.shields.io/aur/version/docker-machine-add-ssh)](https://aur.archlinux.org/packages/docker-machine-add-ssh/)\n\nThis is a command line program to allow you to use ordinary\n[ssh](https://en.wikipedia.org/wiki/Secure_Shell) commands with [Docker\nMachine](https://github.com/docker/machine) rather than use\n[`docker-machine ssh`](https://docs.docker.com/machine/reference/ssh/)\nor [`docker-machine\nscp`](https://docs.docker.com/machine/reference/scp/).\n\n## USAGE\n\nType `docker-machine-add-ssh -h` to view the usage summary:\n\n```\nusage: docker-machine-add-ssh [-h] [-r] [-d] [-f] [-B] [-S] name\n\nAdds docker-machine ssh configuration to your personal ssh configuration.\nNormally, you ssh to a docker-machine using command \"docker-machine ssh\n\u003cmach\u003e\" but after running this utility once for the specified machine, you can\nthen on use ssh in the normal way, e.g. \"ssh \u003cmach\u003e\". Other standard programs\nsuch as scp, sftp, rsync, and anything else that relies on them or normal ssh\ncan then also be used to that docker-machine.\n\npositional arguments:\n  name            docker machine name\n\noptions:\n  -h, --help      show this help message and exit\n  -r, --replace   do not fail if host entry already exists, just replace it\n  -d, --delete    just delete any existing host entry\n  -f, --files     get parameters directly from files rather than via docker-\n                  machine command\n  -B, --nobackup  do not create a backup file\n  -S, --nostrict  disable strict host key check\n\nNote you can set default starting options in\n$HOME/.config/docker_machine_add_ssh-flags.conf.\n```\n\n## EXAMPLES\n\n```sh\n$ tree foodir\nfoodir\n├── a\n└── b\n\n# Create a docker machine:\n$ docker-machine create vb1\n...\n\n# Login to that machine:\n$ docker-machine ssh vb1\n...\nexit\n\n# Copy a directory and it's files to the new machine the docker-machine way:\n$ docker-machine scp -r foodir vb1:\nb             100$    0     0.0KB/s   00:00\na             100%    0     0.0KB/s   00:00\n\n# Or, use docker-machine rsync mode:\n$ docker-machine scp -r -d foodir vb1:\nsending incremental file list\nfoodir/a\n              0 100%    0.00kB/s    0:00:00 (xfr#1, to-chk=1/3)\nfoodir/b\n              0 100%    0.00kB/s    0:00:00 (xfr#2, to-chk=0/3)\n\n# Instead, do all this normally, after executing docker-machine-add-ssh:\n$ docker-machine-add-ssh vb1\nvb1 entry added to /home/mark/.ssh/config.\n\n# Login to that machine normally. Be sure to do this first time to clear\n# the host check as seen in this example:\n$ ssh vb1\nThe authenticity of host '192.168.99.100 (192.168.99.100)' can't be established.\nECDSA key fingerprint is SHA256:Gya8jUcRhXlO/IkkTicrbLEPmMV0V5uOALB2Y5kJUCc.\nAre you sure you want to continue connecting (yes/no/[fingerprint])? yes\nWarning: Permanently added '192.168.99.107' (ECDSA) to the list of known hosts.\n\ndocker@vb1:~$ exit\n\n# Now you can just use normal scp or rsync:\n$ scp -pr foodir vb1:\nb             100%    0     0.0KB/s   00:00    \na             100%    0     0.0KB/s   00:00 \n\n$ rsync -av foodir vb1:\nsending incremental file list\n\nsent 100 bytes  received 17 bytes  234.00 bytes/sec\ntotal size is 0  speedup is 0.00\n\n# Finished with the machine so delete all trace of it:\n$ docker-machine rm vb1\nAbout to remove vb1\nWARNING: This action will delete both local reference and remote instance.\nAre you sure? (y/n): y\nSuccessfully removed vb1\n\n$ docker-machine-add-ssh -d vb1\nvb1 entry deleted from /home/mark/.ssh/config.\n```\n\n## DEFAULT OPTIONS\n\nYou can add default options to a personal configuration file\n`~/.config/docker-machine-add-ssh-flags.conf`. If that file exists then\neach line of arguments will be concatenated and automatically prepended\nto your `docker-machine-add-ssh` command line options. Comments in the\nfile (i.e. starting with \"#\") are ignored.\n\nThis allow you to set default preferred starting options to\n`docker-machine-add-ssh`. Type `docker-machine-add-ssh -h` to see the\noptions supported.\nE.g. `echo \"-r\" \u003e~/.config/docker-machine-add-ssh-flags.conf` to make\n`docker-machine-add-ssh` always replace existing host entries even if\nthey already exist.\n\n## INSTALLATION\n\nPython 3.7 or later is required. Ensure\n[`docker-machine`](https://docs.docker.com/machine/install-machine) is\ninstalled.\n\nArch users can install [docker-machine-add-ssh from the\nAUR](https://aur.archlinux.org/packages/docker-machine-add-ssh/).\n\nNote [docker-machine-add-ssh is on\nPyPI](https://pypi.org/project/docker-machine-add-ssh/) so the easiest\nway to install it is to use [`uv tool`][uvtool] (or [`pipx`][pipx] or\n[`pipxu`][pipxu]).\n\n```sh\n$ uv tool install docker-machine-add-ssh\n```\n\nTo upgrade:\n\n```sh\n$ uv tool upgrade docker-machine-add-ssh\n```\n\nTo uninstall:\n\n```sh\n$ uv tool uninstall docker-machine-add-ssh\n```\n\n[pipx]: https://github.com/pypa/pipx\n[pipxu]: https://github.com/bulletmark/pipxu\n[uvtool]: https://docs.astral.sh/uv/guides/tools/#installing-tools\n\n## LICENSE\n\nCopyright (C) 2020 Mark Blakeney. This program is distributed under the\nterms of the GNU General Public License.\nThis program is free software: you can redistribute it and/or modify it\nunder the terms of the GNU General Public License as published by the\nFree Software Foundation, either version 3 of the License, or any later\nversion.\nThis program is distributed in the hope that it will be useful, but\nWITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General\nPublic License at \u003chttps://en.wikipedia.org/wiki/GNU_General_Public_License\u003e for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbulletmark%2Fdocker-machine-add-ssh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbulletmark%2Fdocker-machine-add-ssh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbulletmark%2Fdocker-machine-add-ssh/lists"}