Skip to content

kex_exchange_identification: Connection closed by remote host #3

@wb4r

Description

@wb4r

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions