Skip to content
New issue

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

[Bug]: openssh: KnownHostsCommand fails with signal 31 #15632

Closed
SeerLite opened this issue Mar 13, 2023 · 0 comments · Fixed by #15633
Closed

[Bug]: openssh: KnownHostsCommand fails with signal 31 #15632

SeerLite opened this issue Mar 13, 2023 · 0 comments · Fixed by #15633
Labels
bug report Something is not working properly.

Comments

@SeerLite
Copy link

Problem description

Trying to connect via ssh with KnownHostsCommand option set to any valid program makes ssh always fail with the following error:

KnownHostsCommand-ORDER <command> exited on signal 31
KnownHostsCommand failed

What steps will reproduce the bug?

ssh -o KnownHostsCommand='/usr/bin/env true' localhost -p 8022

or more directly:

ssh -o KnownHostsCommand='/bin/true' localhost -p 8022

(or you could ssh to any valid addres/port with the option set)

What is the expected behavior?

ssh connects normally. This can be proved on a Linux desktop.

System information

termux-info:

Termux Variables:
TERMUX_APP_PACKAGE_MANAGER=apt
TERMUX_MAIN_PACKAGE_FORMAT=debian
TERMUX_VERSION=0.118.0
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://mirrors.utermux.dev/termux/termux-main stable main
# root-repo (sources.list.d/root.list)
deb https://mirrors.utermux.dev/termux/termux-root root stable
Updatable packages:
command-not-found/stable 2.1.0-14 aarch64 [upgradable from: 2.1.0-13]
freetype/stable 2.13.0-1 aarch64 [upgradable from: 2.13.0]
glib/stable 2.76.0 aarch64 [upgradable from: 2.74.6]
imagemagick/stable 7.1.1.3 aarch64 [upgradable from: 7.1.1.2]
termux-tools version:
1.37.0
Android version:
12
Kernel build information:
Linux localhost 4.14.256-QuicksilveR-ginkgo-v2.5/5cac8479 #1 SMP PREEMPT Wed Oct 19 07:00:07 PDT 2022 aarch64 Android
Device manufacturer:
Xiaomi
Device model:
Redmi Note 8
LD Variables:
LD_LIBRARY_PATH=/run/current-system/profile/lib/vdpau:/data/data/com.termux/files/home/.config/guix/thunderbird-workaround-profile-libnotify/lib:/run/current-system/profile/lib/vdpau:/data/data/com.termux/files/home/.config/guix/thunderbird-workaround-profile-libnotify/lib:
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so
@SeerLite SeerLite added bug report Something is not working properly. untriaged labels Mar 13, 2023
@xtkoba xtkoba removed the untriaged label Mar 13, 2023
@xtkoba xtkoba changed the title [Bug]: [Bug]: openssh: KnownHostsCommand fails with signal 31 Mar 13, 2023
@xtkoba xtkoba linked a pull request Mar 13, 2023 that will close this issue
termux-pacman-bot added a commit to termux-pacman/termux-packages that referenced this issue Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Something is not working properly.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants