{"id":31853581,"url":"https://github.com/lrwx00t/sshmate","last_synced_at":"2026-05-08T07:32:57.472Z","repository":{"id":166414959,"uuid":"609984379","full_name":"lrwx00t/sshmate","owner":"lrwx00t","description":"Simple SSH Manager","archived":false,"fork":false,"pushed_at":"2023-03-26T05:00:46.000Z","size":17,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-12T13:32:11.098Z","etag":null,"topics":["linux","macos","ssh","ssh-connection","ssh-manager","ssh-manager-cli","terminal","tool"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/lrwx00t.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-03-05T20:10:15.000Z","updated_at":"2025-09-19T22:18:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"f67140b0-806a-47da-a2e6-6fee874fbc14","html_url":"https://github.com/lrwx00t/sshmate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lrwx00t/sshmate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lrwx00t%2Fsshmate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lrwx00t%2Fsshmate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lrwx00t%2Fsshmate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lrwx00t%2Fsshmate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lrwx00t","download_url":"https://codeload.github.com/lrwx00t/sshmate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lrwx00t%2Fsshmate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32771023,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T02:36:36.067Z","status":"ssl_error","status_checked_at":"2026-05-08T02:36:07.210Z","response_time":54,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["linux","macos","ssh","ssh-connection","ssh-manager","ssh-manager-cli","terminal","tool"],"created_at":"2025-10-12T13:30:24.349Z","updated_at":"2026-05-08T07:32:57.464Z","avatar_url":"https://github.com/lrwx00t.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sshmate\n\n`sshmate` is a tool designed to simplify interactions with SSH servers. It provides an easy way to connect to servers by assigning a name to an address. After adding a connection, you can directly connect to the server using the name you provided. It also allows adding log messages to existing connections. These log messages serve as additional descriptions of the server, making it easier to remember what the server is for and how it's been changed over time. For example, you might add log messages like *upgraded mysql* or *installed nginx using latest version*. Then, when you need to connect to the server again, you can simply search for keywords in the log messages to quickly find the server you need.\n\n`sshmate` also supports symbolic links, which means that `sshmate` can be installed at any path. `sshmate` includes an autocompletion feature that makes it easy to quickly navigate between connction names using the `tab` key.\n\n![image](https://user-images.githubusercontent.com/96939525/227756273-d9fd41cb-41d6-49ed-8262-b75be0077b9a.png)\n\n## Installation\n\nYou need to clone the repo and `cd` in the root folder `sshmate` before proceeding further. This can be done by running the following:\n```bash\ngit clone https://github.com/lrwx00t/sshmate\ncd sshmate\n```\n\n### Using `Makefile`\n```bash\nmake install\n```\n\n### Manual Installation\n\n* Create a symlink to `sshmate` script\n  ```bash\n  ln -s {REPO_PATH}/sshmate /usr/local/bin/sshmate\n  ```\n* Install the auto-completion script e.g. `in your ~/.zshrc`:\n  ```bash\n  source {REPO_PATH}/sshmate-completion.bash\n  ```\n\n## Usage\n```bash\n❯ sshmate -h\nUsage:   sshmate -c \u003cNAME\u003e                 (connect to an existing connection)\n         sshmate -l                        (list all connections)\n         sshmate -n \u003cNAME\u003e -a \u003cADDRESS\u003e    (add a new connection)\n         sshmate -a \u003cNAME\u003e -d \u003cMESSAGE\u003e    (add a log message to an existing\n                                           connection)\n         sshmate -s \u003cTXT\u003e                  (connection to an existing connection\n                                           by a matching text in the log)\n         sshmate -r \u003cNAME\u003e                 (remove connection)\nOptions:\n         -c \u003cCONNECTION_NAME\u003e      (connect to an existing connection name)\n         -l                        (list all connections)\n         -n \u003cCONNECTION_NAME\u003e      (add a new connection name)\n         -a \u003cCONNECTION_ADDRESS\u003e   (add a connection address, used with -n)\n         -d \u003cMSG\u003e                  (add a log message to an existing connection)\n         -r \u003cCONNECTION_NAME\u003e      (remove an existing connection)\n         -s \u003cTXT\u003e                  (connect to a machine using an existing\n                                    connection by finding match in the logs)\n         -h                        (show this message for usage help)\n\nExample: Connect to an existing connection name\n         sshmate -c do_linux_centos7\n\n         Create a new connection\n         sshmate -n do_linux_centos7 -a root@10.10.10.1\n\n         Create a new connection\n         sshmate -a do_linux_centos7 -d \"installed mysql latest version\"\n\n         Connect to an existing connection by searching for a match in the logs\n         sshmate -s mysql\n```\n\n## Examples\n\n### Add a new connection\n```bash\n❯ sshmate -n do_linux_ubuntu16 -a nonroot@10.10.10.2\nadding new connection..\nAdding [nonroot@10.10.10.2] connection with the name: do_linux_ubuntu16%\n```\n\n### List all connections\n```bash\n❯ sshmate -l\nlisting all SSH connections...\ndo_linux_centos7                 ==\u003e  root@10.10.10.1\ndo_linux_ubuntu16                ==\u003e  nonroot@10.10.10.2\ndo_linux_rh                      ==\u003e  root@10.10.10.3\n```\n\n### Connect to one of the listed/existing connections\n```bash\n❯ sshmate -c do_linux_centos7\nchecking connection:do_linux_centos7\nconnecting to: root@10.10.10.1\nssh root@10.10.10.1\n```\n\n### Add/append a log message to an existing connection\n```bash\n❯ sshmate -a do_linux_centos7 -d \"installed mysql with new test db\"\nadding new connection..\nadd a description to existing connection\ndescription is:  installed mysql with new test db\ngot connection:  do_linux_centos7\n```\n\n### Use a log message lookup to access an existing connection\n```bash\n❯ sshmate -s mysql\nconnecting to: root@10.10.10.1\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flrwx00t%2Fsshmate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flrwx00t%2Fsshmate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flrwx00t%2Fsshmate/lists"}