{"id":13892827,"url":"https://github.com/azlux/ssh-prompter","last_synced_at":"2025-07-14T06:41:34.242Z","repository":{"id":69708843,"uuid":"152115155","full_name":"azlux/ssh-prompter","owner":"azlux","description":"SSH prompt all servers from ssh_config file with search","archived":false,"fork":false,"pushed_at":"2024-04-09T09:25:07.000Z","size":34,"stargazers_count":17,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-16T23:21:26.621Z","etag":null,"topics":["listview","ssh-config","ssh-server","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/azlux.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-08T16:56:01.000Z","updated_at":"2024-12-28T08:37:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"a167747b-e85c-4ba7-8532-a6e00f87213c","html_url":"https://github.com/azlux/ssh-prompter","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/azlux%2Fssh-prompter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azlux%2Fssh-prompter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azlux%2Fssh-prompter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azlux%2Fssh-prompter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/azlux","download_url":"https://codeload.github.com/azlux/ssh-prompter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244288551,"owners_count":20429030,"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":["listview","ssh-config","ssh-server","tmux"],"created_at":"2024-08-06T17:01:15.272Z","updated_at":"2025-07-14T06:41:34.230Z","avatar_url":"https://github.com/azlux.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# ssh-prompter\n\nssh-prompter lists all servers contained in your ssh_config file with search feature.\n\nAdditionally, the script can scan others `Include` [ssh_config file if used](https://man.openbsd.org/ssh_config#Include).\n\nThis is a new version of this old script, rewrited in Go.\n\n### Screenshot\n![ssh-prompter](examples/Capture1.PNG)\n\n## Installation\n### Via APT (recommended)\nSee [http://packages.azlux.fr](http://packages.azlux.fr)\n\n```bash\necho \"deb [signed-by=/usr/share/keyrings/azlux-archive-keyring.gpg] http://packages.azlux.fr/debian/ bookworm main\" | sudo tee /etc/apt/sources.list.d/azlux.list\nsudo wget -O /usr/share/keyrings/azlux-archive-keyring.gpg  https://azlux.fr/repo.gpg\nsudo apt update\nsudo apt install ssh-prompter\n```\n\n### Manually\nYou need to install the [Go Language](https://go.dev/doc/install)\n\nThen you can build the project\n```bash\ngit clone https://github.com/azlux/ssh-prompter.git\ncd ssh-prompter\ngo build\n```\n\n## Configuration\n### Alias\nMany people don't like the long command `ssh-prompter` so I recommand to put an alias into your `~/.profile` or `~/.bashrc`.\nIt's safe to replace the `ssh` command since I don't interfere with ssh if additionnals parameters are used.\n```bash\n# alias ssh=\"ssh-prompter\"\n# or\n# alias sshp=\"ssh-prompter\"\n```\n\n### SSH config configuration\nEverything is here : [Official ssh_config manual](https://man.openbsd.org/ssh_config)\nI don't have a custom config file, neither a database. \n\nThis program parse the standard ssh config file. See [the example](examples/config) for a basic config for ssh\n\n### Folder\nSSH-Prompter manage folder.\nHost will be group by `Folder` when no search.\n\nTwo methods:\n- The Host name can be `FolderName/Name`, \n- You can add the ssh config option `Folder FolderName`.\n  - In this case you need `IgnoreUnknown Folder`on the TOP of your `.ssh/config` file (to avoid error).\n\nYou can use both (but not in the same time for the same Host) !\n\n### Additionnal information\nAll Host with `*` are ignored.\n\nI consider we don't want to \"select\" them since it's a wildcard for other hosts\n\n### Why two methods for folder :\nI first wanted to have the `/` (slash) method but when you use ProxyJump, ssh don't allow slash into the name.\nSo the option `Folder` is here to allow having a proxy server into a folder.\n\n### TMUX\nIf you run the script on a tmux.\nThe window will be renamed with the Host selected.\n\nIt use the command `tmux rename-window xxxxx`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazlux%2Fssh-prompter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazlux%2Fssh-prompter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazlux%2Fssh-prompter/lists"}