We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install fails
cconstab@blake:~$ bash -x -c "$(curl -fsSL https://getsshnpd.noports.com)" + BINARY_NAME=sshnpd + parse_args + SSHNP_OP=install + '[' 0 -gt 0 ']' + '[' install = install ']' + '[' -z '' ']' + read -rp 'Client address (e.g. @alice_client): ' CLIENT_ATSIGN Client address (e.g. @alice_client): @cconstab + '[' -z '' ']' + read -rp 'Device address (e.g. @alice_device): ' DEVICE_MANAGER_ATSIGN Device address (e.g. @alice_device): @ssh_1 + '[' -z '' ']' + read -rp 'Device name: ' SSHNP_DEVICE_NAME Device name: blake + '[' -z blake ']' + '[' 5 -gt 15 ']' + [[ blake =~ [^a-zA-Z0-9] ]] + norm_atsign CLIENT_ATSIGN + KEY=CLIENT_ATSIGN + INPUT=@cconstab + shopt -s extglob + ATSIGN=@cconstab + shopt -u extglob + export CLIENT_ATSIGN=@cconstab + CLIENT_ATSIGN=@cconstab + norm_atsign DEVICE_MANAGER_ATSIGN + KEY=DEVICE_MANAGER_ATSIGN + INPUT=@ssh_1 + shopt -s extglob + ATSIGN=@ssh_1 + shopt -u extglob + export DEVICE_MANAGER_ATSIGN=@ssh_1 + DEVICE_MANAGER_ATSIGN=@ssh_1 + echo + main + parse_env + '[' -z '' ']' + SSHNP_USER=cconstab ++ eval echo '~cconstab' +++ echo /home/cconstab + HOME_PATH=/home/cconstab + '[' -z '' ']' + SSHNP_VERSION=latest + URL=https://api.github.com/repos/atsign-foundation/sshnoports/releases/latest + case "$(uname)" in ++ uname + PLATFORM=linux + EXT=tgz + '[' linux == Unknown ']' + case "$(uname -m)" in ++ uname -m + ARCH='x64\.' + '[' 'x64\.' == Unknown ']' ++ curl -s https://api.github.com/repos/atsign-foundation/sshnoports/releases/latest ++ grep browser_download_url ++ cut '-d"' -f4 + DOWNLOADS='https://github.com/atsign-foundation/sshnoports/releases/download/v3.3.0/sshnp-linux-arm.tgz https://github.com/atsign-foundation/sshnoports/releases/download/v3.3.0/sshnp-linux-arm64.tgz https://github.com/atsign-foundation/sshnoports/releases/download/v3.3.0/sshnp-linux-riscv64.tgz https://github.com/atsign-foundation/sshnoports/releases/download/v3.3.0/sshnp-linux-x64.tgz https://github.com/atsign-foundation/sshnoports/releases/download/v3.3.0/sshnp-macos-arm64.zip https://github.com/atsign-foundation/sshnoports/releases/download/v3.3.0/sshnp-macos-x64.zip' ++ echo 'https://github.com/atsign-foundation/sshnoports/releases/download/v3.3.0/sshnp-linux-arm.tgz https://github.com/atsign-foundation/sshnoports/releases/download/v3.3.0/sshnp-linux-arm64.tgz https://github.com/atsign-foundation/sshnoports/releases/download/v3.3.0/sshnp-linux-riscv64.tgz https://github.com/atsign-foundation/sshnoports/releases/download/v3.3.0/sshnp-linux-x64.tgz https://github.com/atsign-foundation/sshnoports/releases/download/v3.3.0/sshnp-macos-arm64.zip https://github.com/atsign-foundation/sshnoports/releases/download/v3.3.0/sshnp-macos-x64.zip' ++ grep linux ++ grep 'x64\.' ++ cut '-d"' -f4 + DOWNLOAD=https://github.com/atsign-foundation/sshnoports/releases/download/v3.3.0/sshnp-linux-x64.tgz + '[' -n '' ']' + '[' -n '' ']' + TEMP_PATH=latest + make_dirs + rm -rf /home/cconstab/.atsign/temp/latest + mkdir -p /home/cconstab/.ssh/ /home/cconstab/.sshnpd/logs /home/cconstab/.atsign/keys /home/cconstab/.atsign/temp /home/cconstab/.local/bin + '[' '!' -f /home/cconstab/.ssh/authorized_keys ']' + download + '[' -z '' ']' + '[' -n '' ']' + echo 'Downloading sshnpd from https://github.com/atsign-foundation/sshnoports/releases/download/v3.3.0/sshnp-linux-x64.tgz' Downloading sshnpd from https://github.com/atsign-foundation/sshnoports/releases/download/v3.3.0/sshnp-linux-x64.tgz + curl -sL https://github.com/atsign-foundation/sshnoports/releases/download/v3.3.0/sshnp-linux-x64.tgz -o /home/cconstab/.atsign/temp/latest/sshnpd.tgz + '[' '!' -f /home/cconstab/.atsign/temp/latest/sshnpd.tgz ']' + echo 'Failed to download sshnpd' Failed to download sshnpd + exit 1 cconstab@blake:~$
should install without failure
No response
Looks like the .atsign directory is not being created ???
mkdir /home/cconstab/.atsign/temp/latest/
allows the curl we see in the bash -x log to work
sshnp install worked fine
The text was updated successfully, but these errors were encountered:
p0
Sorry, something went wrong.
confirmed working thanks
XavierChanth
Successfully merging a pull request may close this issue.
Describe the bug
Install fails
Steps to reproduce
Expected behavior
should install without failure
Screenshots
No response
Smartphones
Were you using an atApplication when the bug was found?
No response
Additional context
Looks like the .atsign directory is not being created ???
mkdir /home/cconstab/.atsign/temp/latest/
allows the curl we see in the bash -x log to work
sshnp install worked fine
The text was updated successfully, but these errors were encountered: