ios_triage
ios_triage copied to clipboard
kex_exchange_identification: Connection closed by remote host
Hi
I am having issues connecting to my device via sudo iproxy 22 44
and ssh root@localhost
. I have tried with two devices - iPad and iPhoneX both JB with uncov0er.
In both cases the error is the same. I've tried jailbreaking both of them again and rebooting my Mac but I keep getting the same error.
$ sudo iproxy 22 44
Password: [...]
Creating listening port 22 for device port 44
waiting for connection
New connection for 22->44, fd = 5
waiting for connection
Requesting connecion to USB device handle 6 (serial: af009 [...] b7b13e), port 44
Error connecting to device: No such file or directory
and
$ ssh root@localhost
kex_exchange_identification: Connection closed by remote host
I am connected via USB and can ssh to them either ssh root@deviceIP
or
sudo iproxy 44 22
ssh -p 44 root@localhost
I think am missing something too obvious. Any ideas?
Thanks in advance
Edit: forgot to say that I am able to run this repo by manually modifying lines 56, 580, 581 and 582 but still curious as per why am not able to run it as above.