{"id":16655013,"url":"https://github.com/adriansev/ssh_fwd.service","last_synced_at":"2025-03-12T18:26:42.017Z","repository":{"id":143310782,"uuid":"171058743","full_name":"adriansev/ssh_fwd.service","owner":"adriansev","description":"Systemd service for ssh port forwards","archived":false,"fork":false,"pushed_at":"2021-06-24T15:02:13.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-19T11:30:53.576Z","etag":null,"topics":["port-forwarding","socks-proxy","ssh","systemd-service"],"latest_commit_sha":null,"homepage":null,"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/adriansev.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}},"created_at":"2019-02-16T22:31:08.000Z","updated_at":"2021-06-24T15:02:16.000Z","dependencies_parsed_at":"2023-05-12T23:45:07.723Z","dependency_job_id":null,"html_url":"https://github.com/adriansev/ssh_fwd.service","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/adriansev%2Fssh_fwd.service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adriansev%2Fssh_fwd.service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adriansev%2Fssh_fwd.service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adriansev%2Fssh_fwd.service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adriansev","download_url":"https://codeload.github.com/adriansev/ssh_fwd.service/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243270161,"owners_count":20264218,"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":["port-forwarding","socks-proxy","ssh","systemd-service"],"created_at":"2024-10-12T09:51:44.424Z","updated_at":"2025-03-12T18:26:41.995Z","avatar_url":"https://github.com/adriansev.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ssh_fwd@.service\nSystemd service for ssh port forwards\n\n# USER usage\n\nenable persistent processes for user   \n\u003esudo loginctl enable-linger \u003cuser\u003e\n\nsystemd user location is ~/.config/systemd/user/   \n\u003ecp ssh-fw@.service ~/.config/systemd/user/  \n\nadd service to systemd --user services autostart\n\u003esystemctl --user enable ssh-fwd@my_configuration\n\nuser configurations are expected in ~/.ssh/port-fwd.d/   \nthe configuration have the following format :   \n\u003eTARGET=-p custom_port user@host  \n\u003ePORT_LOCAL=local_port  \n\u003ePORT_REMOTE=remote_port  \n\u003eOPTS=any other options  \n\n!!! N.B. !!!\nthis is not a shell sourced file  \nEnvironment variables in systemd are handled differently if used with ${MYVAR} or with $MYVAR.  \n${MYVAR} will provide the target process with a single string argument made of the complete string you specified in MYVAR.  \n$MYVAR in the other hand will split MYVAR around spaces it contains and feed them to the process.  \nhttps://www.freedesktop.org/software/systemd/man/systemd.exec.html#EnvironmentFile=   \nhttps://www.freedesktop.org/software/systemd/man/systemd.exec.html#Environment=   \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadriansev%2Fssh_fwd.service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadriansev%2Fssh_fwd.service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadriansev%2Fssh_fwd.service/lists"}