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

Not returning to shell prompt after ssh command on host via ProxyJump #2034

Open
3 tasks done
abeith opened this issue Aug 28, 2024 · 2 comments
Open
3 tasks done

Not returning to shell prompt after ssh command on host via ProxyJump #2034

abeith opened this issue Aug 28, 2024 · 2 comments
Labels
bug Bug that's either related to Blink Shell or prevents the user to use the app in normal conditions.

Comments

@abeith
Copy link

abeith commented Aug 28, 2024

Checklist

Configuration

iPhone:
Blink v17.3.0.916
iOS 17.6.1

iPad:
Blink v17.3.0.916
iPadOS 17.6.1

remote1:
Ubuntu 20.04.6 LTS
OpenSSH_8.2p1 Ubuntu-4ubuntu0.11, OpenSSL 1.1.1f 31 Mar 2020

jumphost1:
Debian GNU/Linux 11 (bullseye)
OpenSSH_8.4p1 Debian-5+deb11u2, OpenSSL 1.1.1w 11 Sep 2023

remote2:
MacOS 14.3.1
OpenSSH_9.4p1, LibreSSL 3.3.6

jumphost2:
Ubuntu 22.04.4 LTS
OpenSSH_8.9p1 Ubuntu-3ubuntu0.10, OpenSSL 3.0.2 15 Mar 2022

Describe the bug

Running a command over ssh doesn't return to the prompt in the shell when the host is configured with a ProxyJump. Ctrl-C is required to get the prompt back.

blink> ssh remote1 echo test
Connected to
test
_
blink> ssh remote2 echo test
Connected to
test
_

Expected behaviour is seen when connecting directly to jump hosts.

blink> ssh jumphost1 echo test
Connected to <IP address>
test
blink>
blink> ssh jumphost2 echo test
Connected to <IP address>
test
blink>
@abeith abeith added the bug Bug that's either related to Blink Shell or prevents the user to use the app in normal conditions. label Aug 28, 2024
@carloscabanero
Copy link
Member

Should be fixed on Blink 18.

@carloscabanero
Copy link
Member

I removed this from the branch because I need further testing. The most reliable workaround is to close the background process with Ctrl-C itself.

Another idea here is to finally remove custom ProxyCommand, which triggers a background ssh command session, and just support ProxyJump. If I recall, all ProxyCommand cases we use are just manual ProxyJump configurations anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug that's either related to Blink Shell or prevents the user to use the app in normal conditions.
Projects
None yet
Development

No branches or pull requests

2 participants