blinksh/blink

Blink insists that “Spaces are not permitted in the user name.”

JonathanWheeler opened this issue · 3 comments

Checklist

Configuration

Blink v16.1.9.766 for iPadOS 16.5.1

Describe the bug

I can’t connect to one of my hosts using Blink because Blink’s config UI insists with an error that “Spaces are not permitted in the user name.” Spaces in a user name can be annoying, but they’re definitely permitted.

I’ve tried adding this to my SSH config in the config UI to no avail (mirroring what I have on my other systems, but with the user name changed here for security):

User "Foo Bar"

I’ve also tried this to no avail:

blink> cat << 'EOF' > ~/.ssh/config
Host hosta* HostA*
    User "Foo Bar"
^C

For now, I just have to manually jump through a different HostB, then ssh “Foo Bar”@HostA.

Edit: While using ssh “Foo Bar”@HostA in Blink doesn’t work, ssh Foo\ Bar@HostA does. I’m now using this.

Thank you for your work.

Will try to fix ASAP

yury commented

Ok, problem is here
ios_system splits argv differently with quotes. For instance, ssh “Foo Bar”@HostA would be [ssh, Foo Bar, HostA] instead of [ssh, Foo Bar@HostA]

This is fixed in v16.2.1