{"id":16764538,"url":"https://github.com/hyper-w/interactive-ssh","last_synced_at":"2025-10-14T21:38:05.749Z","repository":{"id":41817735,"uuid":"471429905","full_name":"Hyper-W/interactive-ssh","owner":"Hyper-W","description":"Interactive connection using ssh config file.","archived":false,"fork":false,"pushed_at":"2022-07-24T13:31:45.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-14T21:38:03.857Z","etag":null,"topics":["bash","bash-script","bat","batch-script","powershell","powershell-script","shell-script","ssh","ssh-config","ssh-connection","windows-terminal","windows-terminal-configure"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","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/Hyper-W.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}},"created_at":"2022-03-18T15:55:56.000Z","updated_at":"2025-10-04T13:56:42.000Z","dependencies_parsed_at":"2022-08-11T18:30:36.862Z","dependency_job_id":null,"html_url":"https://github.com/Hyper-W/interactive-ssh","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Hyper-W/interactive-ssh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hyper-W%2Finteractive-ssh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hyper-W%2Finteractive-ssh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hyper-W%2Finteractive-ssh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hyper-W%2Finteractive-ssh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hyper-W","download_url":"https://codeload.github.com/Hyper-W/interactive-ssh/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hyper-W%2Finteractive-ssh/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279021373,"owners_count":26087023,"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-14T02:00:06.444Z","response_time":60,"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":["bash","bash-script","bat","batch-script","powershell","powershell-script","shell-script","ssh","ssh-config","ssh-connection","windows-terminal","windows-terminal-configure"],"created_at":"2024-10-13T05:26:19.348Z","updated_at":"2025-10-14T21:38:05.715Z","avatar_url":"https://github.com/Hyper-W.png","language":"PowerShell","readme":"# interactive-ssh\n\nA set of Bash and PowerShell scripts that allow interactive connections to hosts configured in ssh config.\n\nCreated to reduce profiles for ssh in Windows Terminal.\n\n## How To Use\n\n### Bash\n\nRequirements\n\n- ssh\n- git\n- grep(GNU grep)\n- cut(GNU coreutils)\n- nl(GNU coreutils)\n\n```bash\ngit clone https://github.com/Hyper-W/interactive-ssh.git\n\ncd interactive-ssh\n\nchmod a+xr ./Bash/interactive-ssh.sh\n\nsudo cp ./Bash/interactive-ssh.sh /usr/local/bin/interactive-ssh\n\ninteractive-ssh\n```\n\n### PowerShell/Pwsh\n\nRequirements\n\n- ssh\n- git\n- powershell or pwsh\n\n```PowerShell\ngit clone https://github.com/Hyper-W/interactive-ssh.git\n\ncd interactive-ssh\n```\n\n#### GUI\n\n```PowerShell\nexplorer.exe .\\PowerShell\n```\n\nIf you want to use it with `powershell.exe`, double click on `interactive-ssh.bat`.\n\nIf you want to use it with `pwsh.exe`, double click on `interactive-ssh-pwsh.bat`.\n\n#### CLI\n\n```PowerShell\npowershell.exe -ExecutionPolicy Unrestricted -File \".\\interactive-ssh.ps1\" # PowerShell\n\npwsh.exe -File \".\\interactive-ssh.ps1\" # Pwsh\n\npwsh -File \"./interactive-ssh.ps1\" # Pwsh on Linux\n```\n\n### Windows Terminal Profile\n\nAdd the following entry to the `list` of `profiles` in `settings.json`.\n\nPlease change `${YOUR_GUID}`, `${CLONE_PATH}` and `${YOUR_SSH_DISTRIBUTION}` to your own values.\n\nRunning the added profile will execute `interactive-ssh`.\n\n#### WSL\n\n```json\n            {\n                \"commandline\": \"wsl.exe -d ${YOUR_SSH_DISTRIBUTION} interactive-ssh\",\n                \"guid\": \"{${YOUR_GUID}}\",\n                \"hidden\": false,\n                \"icon\": \"ms-appx:///ProfileIcons/{9acb9455-ca41-5af7-950f-6bca1bc9722f}.png\",\n                \"name\": \"WSL SSH\"\n            }\n```\n\n#### PowerShell\n\n```json\n            {\n                \"commandline\": \"powershell.exe -ExecutionPolicy Unrestricted -File ${CLONE_PATH}\\\\PowerShell\\\\interactive-ssh.ps1\",\n                \"guid\": \"{${YOUR_GUID}}\",\n                \"hidden\": false,\n                \"icon\": \"ms-appx:///ProfileIcons/{0caa0dad-35be-5f56-a8ff-afceeeaa6101}.png\",\n                \"name\": \"SSH\"\n            }\n```\n\n#### Pwsh\n\n```json\n            {\n                \"commandline\": \"pwsh.exe -File ${CLONE_PATH}\\\\PowerShell\\\\interactive-ssh.ps1\",\n                \"guid\": \"{${YOUR_GUID}}\",\n                \"hidden\": false,\n                \"icon\": \"ms-appx:///ProfileIcons/{0caa0dad-35be-5f56-a8ff-afceeeaa6101}.png\",\n                \"name\": \"SSH\"\n            }\n```\n\n### After executing the `interactive-ssh`\n\nYou will be prompted to select a hosts.\n\nEnter the number of the host you want to connect to via ssh from among the hosts displayed.\n\nAfter selection, you will be connected to the selected host via ssh.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyper-w%2Finteractive-ssh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyper-w%2Finteractive-ssh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyper-w%2Finteractive-ssh/lists"}