{"id":16994722,"url":"https://github.com/znerol/punssh-mac","last_synced_at":"2026-05-20T14:41:44.661Z","repository":{"id":136256045,"uuid":"249176352","full_name":"znerol/punssh-mac","owner":"znerol","description":"PunSSH client for macOS 10.13 and later","archived":false,"fork":false,"pushed_at":"2020-03-25T14:04:19.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-27T06:28:17.531Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/znerol.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","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":"2020-03-22T12:15:24.000Z","updated_at":"2020-03-25T14:04:22.000Z","dependencies_parsed_at":"2023-12-08T03:31:24.049Z","dependency_job_id":null,"html_url":"https://github.com/znerol/punssh-mac","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/znerol%2Fpunssh-mac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/znerol%2Fpunssh-mac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/znerol%2Fpunssh-mac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/znerol%2Fpunssh-mac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/znerol","download_url":"https://codeload.github.com/znerol/punssh-mac/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244913005,"owners_count":20530769,"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":[],"created_at":"2024-10-14T03:46:21.348Z","updated_at":"2026-05-20T14:41:44.610Z","avatar_url":"https://github.com/znerol.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PunSSH client for macOS 10.13 and later\n\nFully automated setup of SSH tunnels towards a [znerol/punssh][1] server.\nTunnel endpoints are managed with user defaults (a plist file) optionally\ndeployed using an MDM. Port forwarding configuration is pulled from a PunSSH\nserver. Thus no local setup is required.\n\n## Build\n\nRequires swift 5.1 during build time, macOS 10.13 during runtime.\n\nBuild `punssh-defaults` and `punssh-status` from sources:\n\n    make build\n\nBuild an installer package:\n\n    make pkg\n\n## Configuration\n\nPlist file in `/Library/Preferences/ch.znerol.punssh.plist`. It consists of an\n`array` of `dict`s in the `tunnels` toplevel key. Each `dict` has the following\nkey value pairs:\n\n- **name** (string): Tunnel name. May contain a %ComputerName% placeholder\n  which is replaced by the client host name.\n- **destination** (string): SSH destination, e.g., `user@host.tld`.\n- **hostkeys** (array of string): SSH host keys for the destination. Copy them\n  from `/etc/ssh/ssh_host_*.pub` on the destination or use `ssh-keyscan`.\n- **user** (string): Unix user on the client used to start the `ssh` process.\n- **group** (string): Unix group on the client used to start the `ssh` process.\n\n```xml\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\u003c!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\"\u003e\n\u003cplist version=\"1.0\"\u003e\n\u003cdict\u003e\n\t\u003ckey\u003etunnels\u003c/key\u003e\n\t\u003carray\u003e\n\t\t\u003cdict\u003e\n\t\t\t\u003ckey\u003ename\u003c/key\u003e\n\t\t\t\u003cstring\u003e%ComputerName%.example-tunnel\u003c/string\u003e\n\t\t\t\u003ckey\u003edestination\u003c/key\u003e\n\t\t\t\u003cstring\u003epunssh@ssh.example.com\u003c/string\u003e\n\t\t\t\u003ckey\u003ehostkeys\u003c/key\u003e\n\t\t\t\u003carray\u003e\n\t\t\t\t\u003cstring\u003essh.example.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBC3/rZLS1R1WuWy9h4jh/go3Qwc4KhLWbHgvjvDbHaBCRiLheFKNNksw5ozx4mkM1lY03zeg+EfZTiKV9nqsyjI=\u003c/string\u003e\n\t\t\t\t\u003cstring\u003essh.example.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA8GbFDZjFuyoIvq9Yohv+A8UDbKJ+Zbr55H4uLy7cTO\u003c/string\u003e\n\t\t\t\t\u003cstring\u003essh.example.com ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDZGi+FU9q+b+JCWQyfIi/GkeRUXAEvWken74n1Og8nP/mMqNszOqd2jcG5dkbIngRAsnuUgnisZXEpljYV6oKVoGgmOcVnAQicWEHXdzomTf13XmHbbd1IFKLiq4yOixmnER9i1Unr1ddjZj+VjaVwC7VvPRhuyhv48XiA9zz/+1FJed1PCKo8XJXg2MDbT5HUHB20ZrLTK9xKsqU2nXIJzodJJwdkViSzNJAWMNs0zFEYV9tEsrJdE3KEmHekopTOfbdd85wyDWgAcRmoTeoutdCNhxNHcBPo9E4jKFGtV7ZmimqleAQKZEuVKHr/scguE57gyqGQeQ7DxaJrc5Hx\u003c/string\u003e\n\t\t\t\u003c/array\u003e\n\t\t\t\u003ckey\u003euser\u003c/key\u003e\n\t\t\t\u003cstring\u003e_punssh\u003c/string\u003e\n\t\t\t\u003ckey\u003egroup\u003c/key\u003e\n\t\t\t\u003cstring\u003e_punssh\u003c/string\u003e\n\t\t\u003c/dict\u003e\n\t\u003c/array\u003e\n\u003c/dict\u003e\n\u003c/plist\u003e\n```\n\n## Monitoring\n\n* Use `punssh-status` to gather tunnel status in JSON format.\n* Use [znerol/munkireport-punssh][2] to integrate it into Munkireport.\n\n## License\n\n[GPLv3 or later](https://www.gnu.org/licenses/licenses.html#GPL)\n\n[1]: https://github.com/znerol/punssh\n[2]: https://github.com/znerol/munkireport-punssh\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fznerol%2Fpunssh-mac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fznerol%2Fpunssh-mac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fznerol%2Fpunssh-mac/lists"}