You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TL;DR: okc-ssh-agent works on main repo, but does not on this one.
What steps will reproduce the bug?
~ $ pacman -Sy okc-agents
:: Synchronizing package databases...
main is up to date
x11 is up to date
root is up to date
tur is up to date
tur-continuous is up to date
tur-multilib is up to date
gpkg is up to date
resolving dependencies...
looking for conflicting packages...
Packages (1) okc-agents-0.1.2-0
Total Download Size: 0.71 MiB
Total Installed Size: 3.65 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
okc-agents-0.1.2... 726.0 KiB 1243 KiB/s 00:01 100%
(1/1) checking keys in keyring 100%
(1/1) checking package integrity 100%
(1/1) loading package files 100%
(1/1) checking for file conflicts 100%
(1/1) checking available disk space 100%
:: Processing package changes...
(1/1) installing okc-agents 100%
~ $ okc-ssh-agent -d&
[1] 28440
SSH_AUTH_SOCK="/data/data/com.termux/files/usr/tmp/okc-ssh-PW1fSokMnP/agent.28440";export SSH_AUTH_SOCK;echo Agent pid 28440;
Dec 01 00:13:33.186 INFO okc-ssh-agent, protocol_version: 0, version: 0.1.2
~ $ SSH_AUTH_SOCK="/data/data/com.termux/files/usr/tmp/okc-ssh-PW1fSokMnP/agent.28440";export SSH_AUTH_SOCK;echo Agent pid 28440;
Agent pid 28440
~ $ ssh sev@anywhere
Dec 01 00:14:04.008 INFO connected to client, id: 0
Dec 01 00:14:04.008 ERRO failed to accept the connection: Os { code: 22, kind: InvalidInput, message: "Invalid argument" }, id: 0
sev@anywhere: Permission denied (publickey).
~ $ pacman -S bintools wget
resolving dependencies...
looking for conflicting packages...
Packages (6) binutils-bin-2.43.1-0
binutils-libs-2.43.1-0 libuuid-2.40.2-2
zstd-1.5.6-2 binutils-2.43.1-0
wget-1.25.0-0
Total Installed Size: 21.58 MiB
:: Proceed with installation? [Y/n]
(6/6) checking keys in keyring 100%
(6/6) checking package integrity 100%
(6/6) loading package files 100%
(6/6) checking for file conflicts 100%
(6/6) checking available disk space 100%
:: Processing package changes...
(1/6) installing zstd 100%
(2/6) installing binutils-libs 100%
(3/6) installing binutils-bin 100%
(4/6) installing binutils 100%
(5/6) installing libuuid 100%
(6/6) installing wget 100%
~ $ wget -q https://packages.termux.dev/apt/termux-main/pool/main/o/okc-agents/okc-agents_0.1.2_aarch64.deb
~ $ ar xo okc-agents_0.1.2_aarch64.deb
~ $ tar xf data.tar.xz
~ $ cd data/data/com.termux/files/usr/bin
~/.../usr/bin $ ./okc-ssh-agent -d&
[2] 29609
SSH_AUTH_SOCK="/data/data/com.termux/files/usr/tmp/okc-ssh-niSOtDbXM8/agent.29609";export SSH_AUTH_SOCK;echo Agent pid 29609;
Dec 01 00:24:58.270 INFO okc-ssh-agent, protocol_version: 0, version: 0.
~/.../usr/bin $ SSH_AUTH_SOCK="/data/data/com.termux/files/usr/tmp/okc-ssh-niSOtDbXM8/agent.29609";export SSH_AUTH_SOCK;echo Agent pid 29609;
Agent pid 29609
~/.../usr/bin $ ssh sev@anywhere
Dec 01 00:27:07.856 INFO connected to client, id: 0
Dec 01 00:27:07.860 INFO listening on port 35277, id: 0
Dec 01 00:27:08.151 INFO broadcast sent, waiting for app to connect, id: 0
Dec 01 00:27:08.152 INFO app connected, start forwarding, remote_port: 54278, id: 0
# ...
Dec 01 00:27:08.160 INFO connection finished, id: 0
What is the expected behavior?
It works
System information
termux-info:
Termux Variables:
TERMUX_API_VERSION=0.50.1
TERMUX_APK_RELEASE=GITHUB
TERMUX_APP_PACKAGE_MANAGER=pacman
TERMUX_APP_PID=18997
TERMUX_IS_DEBUGGABLE_BUILD=1
TERMUX_MAIN_PACKAGE_FORMAT=pacman
TERMUX_VERSION=0.118.1
TERMUX__USER_ID=0
Packages CPU architecture:
aarch64
Subscribed repositories:
# /data/data/com.termux/files/usr/etc/pacman.conf
[main]
Usage = All
Server = https://service.termux-pacman.dev/main/aarch64
Server = https://s3.amazonaws.com/termux-pacman.us/main/aarch64
[x11]
Usage = All
Server = https://service.termux-pacman.dev/x11/aarch64
Server = https://s3.amazonaws.com/termux-pacman.us/x11/aarch64
[root]
Usage = All
Server = https://service.termux-pacman.dev/root/aarch64
Server = https://s3.amazonaws.com/termux-pacman.us/root/aarch64
[tur]
Usage = All
Server = https://service.termux-pacman.dev/tur/aarch64
Server = https://s3.amazonaws.com/termux-pacman.us/tur/aarch64
[tur-continuous]
Usage = All
Server = https://service.termux-pacman.dev/tur-continuous/aarch64
Server = https://s3.amazonaws.com/termux-pacman.us/tur-continuous/aarch64
[tur-multilib]
Usage = All
Server = https://service.termux-pacman.dev/tur-multilib/aarch64
Server = https://s3.amazonaws.com/termux-pacman.us/tur-multilib/aarch64
[gpkg]
Usage = All
Server = https://service.termux-pacman.dev/gpkg/aarch64
Server = https://s3.amazonaws.com/termux-pacman.us/gpkg/aarch64
Updatable packages:
All packages up to date
termux-tools version:
1.44.1
Android version:
15
Kernel build information:
Linux localhost 5.10.226-android13-4-g7937eb2cdeb6 #1 SMP PREEMPT Sat Nov 23 06:13:29 UTC 2024 aarch64 Android
Device manufacturer:
Google
Device model:
Pixel Fold
LD Variables:
LD_LIBRARY_PATH=
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so
Installed termux plugins:
com.termux.styling versionCode:1000
com.termux.api versionCode:51
com.termux.x11 versionCode:15
The text was updated successfully, but these errors were encountered:
Problem description
See: DDoSolitary/OkcAgent#143 (comment)
TL;DR:
okc-ssh-agent
works on main repo, but does not on this one.What steps will reproduce the bug?
What is the expected behavior?
It works
System information
termux-info
:The text was updated successfully, but these errors were encountered: