Closed ftoralesacosta closed 1 year ago
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.
FYI I was having similar issues with Socket Error: Unknown Error
on iOS 14.4. After digging around I noticed in other apps that have SSH they ask for permission devices on the local network. Seems to be a relatively new security feature. I had to go into iOS Settings > Blink > Enable āLocal Networkā. After that I was able to SSH.
For some reason when I reinstalled Blink it didnāt ask for that permission so it kept erroring out.
All these errors were fixed a long time ago when we rewrote all ssh stuff.
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?