{"id":26455073,"url":"https://github.com/basemax/persistent-ssh-proxy","last_synced_at":"2026-05-10T00:39:52.470Z","repository":{"id":282392023,"uuid":"948439592","full_name":"BaseMax/persistent-ssh-proxy","owner":"BaseMax","description":"SSH Tunnel Keeper is a simple Bash script to keep a SOCKS5 proxy tunnel via SSH alive, automatically reconnecting when the connection drops.","archived":false,"fork":false,"pushed_at":"2025-03-14T11:01:02.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T11:32:51.220Z","etag":null,"topics":["bash","linux","ssh","ssh-client","ssh-tunnel","ssh-tunnel-guide","ssh-tunnel-tool","ssh-tunneling","ssh-tunnels","vpn"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/BaseMax.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":"2025-03-14T10:42:00.000Z","updated_at":"2025-03-14T11:01:05.000Z","dependencies_parsed_at":"2025-03-14T11:42:55.913Z","dependency_job_id":null,"html_url":"https://github.com/BaseMax/persistent-ssh-proxy","commit_stats":null,"previous_names":["basemax/persistent-ssh-proxy"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2Fpersistent-ssh-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2Fpersistent-ssh-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2Fpersistent-ssh-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2Fpersistent-ssh-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BaseMax","download_url":"https://codeload.github.com/BaseMax/persistent-ssh-proxy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244300977,"owners_count":20430843,"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":["bash","linux","ssh","ssh-client","ssh-tunnel","ssh-tunnel-guide","ssh-tunnel-tool","ssh-tunneling","ssh-tunnels","vpn"],"created_at":"2025-03-18T20:29:54.503Z","updated_at":"2026-05-10T00:39:52.432Z","avatar_url":"https://github.com/BaseMax.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SSH Tunnel Keeper\n\nSSH Tunnel Keeper is a simple Bash script to keep a SOCKS5 proxy tunnel via SSH alive, automatically reconnecting when the connection drops.\n\n## Features\n\n- Keeps an SSH SOCKS5 tunnel running in the background\n- Automatically reconnects if the SSH connection is lost\n- Ensures `ssh` and `sshpass` are installed before execution\n\n## Requirements\n\n- `ssh`\n- `sshpass`\n\n## Installation\n\nMake sure you have `ssh` and `sshpass` installed. You can install them using:\n\n### Debian/Ubuntu\n\n```sh\nsudo apt update \u0026\u0026 sudo apt install -y openssh-client sshpass\n```\n\n### CentOS/RHEL\n\n```sh\nsudo yum install -y openssh-clients sshpass\n```\n\n### Arch Linux\n\n```sh\nsudo pacman -Sy openssh sshpass\n```\n\n## Usage\n\n1. Clone this repository:\n\n   ```sh\n   git clone https://github.com/yourusername/ssh-tunnel-keeper.git\n   cd ssh-tunnel-keeper\n   ```\n\n2. Edit the script to replace `******` with your SSH password and server details.\n\n3. Run the script:\n\n   ```sh\n   chmod +x ssh_tunnel_keeper.sh\n   ./ssh_tunnel_keeper.sh\n   ```\n\n## License\n\nMIT License\n\nCopyright 2025, Max Base\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasemax%2Fpersistent-ssh-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbasemax%2Fpersistent-ssh-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasemax%2Fpersistent-ssh-proxy/lists"}