^[+ [[ -n gh-proxy.com ]]
+ GH_PROXY=gh-proxy.com
+ [[ gh-proxy.com =~ ^https://.*/$ ]]
+ GH_PROXY=https://gh-proxy.com/
+ _REPO=boypt/openssh-deb
+ _LATEST_API=https://gh-proxy.org/https://api.github.com/repos/boypt/openssh-deb/releases/latest
+ [[ -n https://gh-proxy.com/ ]]
+ [[ https://gh-proxy.org/https://api.github.com/repos/boypt/openssh-deb/releases/latest =~ ^https://gh-proxy.com/.* ]]
+ _LATEST_API=https://gh-proxy.com/https://gh-proxy.org/https://api.github.com/repos/boypt/openssh-deb/releases/latest
++ mktemp -d
+ _WORKDIR=/tmp/tmp.nrw7AMLXGS
++ lsb_release -sc
+ _CN=jammy
++ dpkg --print-architecture
+ _AR=amd64
+ pushd /tmp/tmp.nrw7AMLXGS
/tmp/tmp.nrw7AMLXGS ~
+ mapfile -t DEB_URLS
++ wget -O- https://gh-proxy.com/https://gh-proxy.org/https://api.github.com/repos/boypt/openssh-deb/releases/latest
++ jq -r '.assets[] | select(.name | contains("jammy_amd64") or contains("jammy_all")) | .browser_download_url'
--2025-12-12 19:32:12-- https://gh-proxy.com/https://gh-proxy.org/https://api.github.com/repos/boypt/openssh-deb/releases/latest
Resolving gh-proxy.com (gh-proxy.com)... 104.26.11.150, 104.26.10.150, 172.67.75.98, ...
Connecting to gh-proxy.com (gh-proxy.com)|104.26.11.150|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://gh-proxy.org/https:/gh-proxy.org/https:/api.github.com/repos/boypt/openssh-deb/releases/latest [following]
--2025-12-12 19:32:12-- https://gh-proxy.org/https:/gh-proxy.org/https:/api.github.com/repos/boypt/openssh-deb/releases/latest
Resolving gh-proxy.org (gh-proxy.org)... 104.26.11.150, 104.26.10.150, 172.67.75.98, ...
Connecting to gh-proxy.org (gh-proxy.org)|104.26.11.150|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2025-12-12 19:32:13 ERROR 403: Forbidden.
+ [[ -n https://gh-proxy.com/ ]]
+ printf '%s\n'
+ grep https://gh-proxy.com/
+ printf '%s\n'
+ sed 's|https://gh-proxy.org/https://github.com|https://gh-proxy.com/https://gh-proxy.org/https://github.com|g'
+ wget -i -
No URLs found in -.
++ find . -type f -name '*jammy*.deb'
++ wc -l
+ [[ 0 -gt 0 ]]
+ popd
~
+ [[ -d /tmp/tmp.nrw7AMLXGS ]]
+ rm -rfv /tmp/tmp.nrw7AMLXGS
removed directory '/tmp/tmp.nrw7AMLXGS'
+ ssh -V
OpenSSH_8.9p1 Ubuntu-3ubuntu0.13, OpenSSL 3.0.2 15 Mar 2022