When I try to ssh to a server, I get the following:
blink> ssh -vv pdsf
ssh_connect: libssh 0.8.5 (c) 2003-2018 Aris Adamantiadis, Andreas Schneider and libssh contributors. Distributed under the LGPL, please refer to COPYING file for information about your rights, using threading threads_pthread
ssh_connect: Socket connecting, now waiting for the callbacks to work
ssh_socket_exception_callback: Socket exception callback: 2 (-1)
ssh_socket_exception_callback: Socket error: Unknown error: -1
Socket error: Unknown error: -1
I can ssh from my laptop to this server no problem, and before the most recent update I could ssh to this server with blink with no problems. Anything I can do?
Hi @ftoralesacosta,
Can you try ssh2 command instead?
Also please provide more verbose output with ssh -vvvvvv pdsf.
Wow, thanks for the quick response. ssh2 worked! Thanks a bunch
ssh2 did not work for me, this just randomly started happening (was working fine this morning, but not in the afternoon, no update occurred between when it was working and not). Is there any update on this?
Hi @jamesmacwilliam, app restart help?
If so, it could leak somewhere... Need to investigate.
@yury I even uninstalled it. Not sure if this helps but here is my response from ssh2:
Could not connect to host: ssh: connect to host <my host> port 22: No route to host
ended up formatting the ipad and restoring, didn't work at first after formatting, and then almost as randomly as it stopped working, it started again 🤷♂
I am experiencing the same error. I was able to connect to the server just fine and randomly it started to throw the Socket error: Unknown error: -1.
@yury, in my case the output for ssh -vvv nuc is exactly the same as ssh -vvvvvv nuc and inline with what's mentioned above. That said, there is 1 additional line about:
ssh_connect: current state: 9
Anything else you recommend?
Hi,
Since the last iOS (12.3.1) Update, blink disallows me to connect to any of my servers:
blink> ssh -vvvvv host
ssh_connect: libssh 0.8.7 (c) 2003-2018 Aris Adamantiadis, Andreas Schneider and libssh contributors. Distributed under the LGPL, please refer to COPYING file for information about your rights, using threading threads_pthread
ssh_connect: Socket connecting, now waiting for the callbacks to work
ssh_socket_exception_callback: Socket exception callback: 2 (-1)
ssh_socket_exception_callback: Socket error: Unknown error: -1
ssh_connect: current state : 9
Socket error: Unknown error: -1
Another (single) server results in this logs – since the update:
blink> ssh -vvvvv host2
ssh_connect: libssh 0.8.7 (c) 2003-2018 Aris Adamantiadis, Andreas Schneider and libssh contributors. Distributed under the LGPL, please refer to COPYING file for information about your rights, using threading threads_pthread
ssh_connect: Socket connecting, now waiting for the callbacks to work
Connect timeout
I don‘t know, if these are the same issues as above – even if it results in the same error.
Thanks for your support!
Cheers,
Martin
Facing the same issue on iPadOS Beta. Very frustrating...
Ran into exact the same issue here using iOS12.3.1. Any idea?
I’m also experiencing this on iOS 13 B7 as well. It was the same for B6.
I’m also experiencing this error.. Oddly enough, if I ssh directly to the IP of the target host (which I have configured in the Blink hosts) it works okay. If I open nslookup in Blink and type the name of the target HostName, it resolves. But it doesn’t work just doing ssh <host>.
@thirdgen88 thanks for info
@yury, You are welcome! One other thing I want to add in here is that I’m having the same exact issue with Panic’s Prompt app.. I wonder if this is more system-related somehow?
I’m thinking that your host have ipv4 and ipv6. DNS resolves to v6 and it can be misconfigured. Can you check that?
@yury, I think you’ve nailed it. I had IPv6 enabled on my home router, to which I VPN in via OpenVPN hosted on a little Raspberry Pi. I’ve got DNSMasq on there serving DNS to the network. Upon disabling IPv6, everything started to work normally. I’ll have to look at getting DNSMasq to resolve local IPv6 I guess.. Thanks!
Cool, glad we solved that. Anyway we need to add -4 and -6 options to ssh command.
I always receive the same error.
If I run: ssh -vvvvv host:
...
ssh_packet_need_rekey: packet: [data_rekey_needed=0, out_blocks=47, in_blocks=238
ssh_socket_exception_callback: Socket exception callback: 2 (-1)
ssh_socket_exception_callback: Socket error: Unknown error: -1
V.13.5.7.244 on iOS v.14.0
Thank you
We improved error handling in v13.5.10.
Most helpful comment
Hi,
Since the last iOS (12.3.1) Update, blink disallows me to connect to any of my servers:
Another (single) server results in this logs – since the update:
I don‘t know, if these are the same issues as above – even if it results in the same error.
Thanks for your support!
Cheers,
Martin