{"id":34122158,"url":"https://github.com/osmollo/gorkscrew","last_synced_at":"2026-03-09T22:03:01.652Z","repository":{"id":54818377,"uuid":"291907856","full_name":"osmollo/gorkscrew","owner":"osmollo","description":"Gorkscrew is a tool developed with GO (based on Corkscrew) for tunneling SSH through HTTP proxies with several methods of autenticación: no auth, basic and kerberos auth","archived":false,"fork":false,"pushed_at":"2024-04-16T15:46:58.000Z","size":67,"stargazers_count":14,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-17T07:53:37.742Z","etag":null,"topics":["corkscrew","go","golang","gorkscrew","http","kerberos","proxy","ssh","tunnel"],"latest_commit_sha":null,"homepage":"","language":"Go","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/osmollo.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2020-09-01T05:45:44.000Z","updated_at":"2025-07-18T06:09:49.000Z","dependencies_parsed_at":"2024-06-19T16:22:49.594Z","dependency_job_id":null,"html_url":"https://github.com/osmollo/gorkscrew","commit_stats":null,"previous_names":["ohermosa/gorkscrew"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/osmollo/gorkscrew","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmollo%2Fgorkscrew","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmollo%2Fgorkscrew/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmollo%2Fgorkscrew/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmollo%2Fgorkscrew/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/osmollo","download_url":"https://codeload.github.com/osmollo/gorkscrew/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmollo%2Fgorkscrew/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30314404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T20:05:46.299Z","status":"ssl_error","status_checked_at":"2026-03-09T19:57:04.425Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["corkscrew","go","golang","gorkscrew","http","kerberos","proxy","ssh","tunnel"],"created_at":"2025-12-14T21:58:51.566Z","updated_at":"2026-03-09T22:03:01.646Z","avatar_url":"https://github.com/osmollo.png","language":"Go","funding_links":["https://www.buymeacoffee.com/osmollo"],"categories":[],"sub_categories":[],"readme":"# GORKSCREW\n\n- [GORKSCREW](#gorkscrew)\n  - [GO version](#go-version)\n  - [Build the binary](#build-the-binary)\n    - [Dependencies](#dependencies)\n    - [Build gorkscrew](#build-gorkscrew)\n  - [How to use](#how-to-use)\n    - [Execute Gorkscrew](#execute-gorkscrew)\n  - [Testing](#testing)\n  - [Buy me a coffee](#buy-me-a-coffee)\n\n## GO version\n\n![Go version](https://img.shields.io/badge/Go-1.18.8-brightgreen.svg)\n\n## Build the binary\n\n### Dependencies\n\nFor **GO** installation, download the desired version from [official download page](https://go.dev/dl/):\n\n```shell\nsudo rm -fr /usr/local/go\ntar xvzf go1.18.8.linux-amd64.tar.gz\nsudo mv go /usr/local\n\nmkdir $HOME/go\n\nexport GOROOT=/usr/local/go\nexport GOPATH=$HOME/go\n```\n\n### Build gorkscrew\n\nWith this command, the `./gorkscrew` binary will be builded:\n\n```shell\ngo build -ldflags \"-X 'main.GorkscrewVersion=$(jq -r .version release.json)' -X 'main.GoVersion=$(jq -r .go_version release.json)'\" gorkscrew.go\n```\n\n## How to use\n\n### Execute Gorkscrew\n\n`gorkscrew` can receive the following arguments:\n\n| NAME | DESCRIPTION | DEFAULT |\n|--|--|--|\n| proxy_host | proxy hostname/IP | `squid` |\n| proxy_port | proxy port | `3128` |\n| proxy_timeout | proxy timeout connection | `5` |\n| dest_host | destination host | `foo_bar.com` |\n| dest_port | destination port | `22` |\n| krb_auth | enable kerberos authentication | `false` |\n| krb5conf | path to `krb5.conf` file | `/etc/krb5.conf` |\n| krb_spn | Kerberos SPN for kerberos authentication with proxy | `HTTP/squid-samuel` |\n| basic_auth | enable basic authenticacion | `false` |\n| creds_file | path to file with proxy credentials | `/foo/bar` |\n| log | enable logging | `false` |\n| log_file | path to log file | `/tmp/gorkscrew_$TIMESTAMP.log` |\n| version | show gorkscrew version | false |\n\nYou can see the usage help using the `-h` argument:\n\n```shell\n./gorkscrew -h\nUsage of gorkscrew:\n  -basic_auth\n        Use basic authentication for proxy users\n  -creds_file string\n        Filepath of proxy credentials (default \"/foo/bar\")\n  -dest_host string\n        Destination Host (default \"foo_bar.com\")\n  -dest_port int\n        Destination Port (default 22)\n  -krb5conf string\n        Path to Kerberos Config (default \"/etc/krb5.conf\")\n  -krb_auth\n        Use Kerberos authentication for proxy users\n  -proxy_host string\n        Proxy Host (default \"squid\")\n  -proxy_port int\n        Proxy Port (default 3128)\n  -proxy_timeout int\n        Proxy Timeout Connection (default 3)\n  -krb_spn string\n        Kerberos Service Principal Name for proxy authentication (default \"HTTP/squid-samuel\")\n  -log\n        enable logging\n  -log_file string\n        Save log execution to file (default \"/foo/bar.log\")\n  -version\n        Show gorkscrew version\n```\n\nAccording to the type of proxy authentication, we will need to use an argument or another:\n\n```text\nHost foo_bar.com\n  ProxyCommand /usr/local/bin/gorkscrew --proxy_host squid.internal.domain --proxy_port 3128 --dest_host %h --dest_port %p\n  ProxyCommand /usr/local/bin/gorkscrew --proxy_host squid.internal.domain --proxy_port 3128 --dest_host %h --dest_port %p --basic_auth --creds_file /tmp/userpass.txt\n  ProxyCommand /usr/local/bin/gorkscrew --proxy_host squid.internal.domain --proxy_port 3128 --dest_host %h --dest_port %p --krb_auth --krb_spn HTTP/my_squid\n```\n\n## Testing\n\nPlease, read the [TESTING README](test/README.md)\n\n## Buy me a coffee\n\nIf this repository has been helpful to you, but especially if you feel like it, you can invite me to a coffee\n\n[![buy me a coffee](https://camo.githubusercontent.com/c3f856bacd5b09669157ed4774f80fb9d8622dd45ce8fdf2990d3552db99bd27/68747470733a2f2f7777772e6275796d6561636f666665652e636f6d2f6173736574732f696d672f637573746f6d5f696d616765732f6f72616e67655f696d672e706e67)](https://www.buymeacoffee.com/osmollo)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosmollo%2Fgorkscrew","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fosmollo%2Fgorkscrew","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosmollo%2Fgorkscrew/lists"}