kpwn / yalu102

incomplete iOS 10.2 jailbreak for 64 bit devices by qwertyoruiopz and marcograssi
Do What The F*ck You Want To Public License
1.77k stars 554 forks source link

SSH doesn't work #364

Closed Amcio closed 7 years ago

Amcio commented 7 years ago

iPhone SE iOS 10.2

Well ssh never worked for me. I tried running dropber -R -F -p 22 but it doesn't work. all dropbear files are in place and it says it's running. But it doesn't even open port 22. It didn't work since the beginning. SSH Tunnel doesn't work. It says: Server unexpectedly closed connection. I'm connecting with putty on Windows.

Note: From my understanding this IS a code issue as it didn't work since the beginning and is implemented by yalu itself.

OGKevin commented 7 years ago

This is not an issue. Ssh works fine over usb. Please close this issue, u can still comment after its closed. There is a turkey on reddit how to ssh over usb.

On 1 feb. 2017 22:01 +0100, Amcio notifications@github.com, wrote:

iPhone SE iOS 10.2

Well ssh never worked for me. I tried running dropber -R -F -p 22 but it doesn't work. all dropbear files are in place and it says it's running. But it doesn't even open port 22. It didn't work since the beginning. SSH Tunnel doesn't work. It says: Server unexpectedly closed connection. I'm connecting with putty on Windows.

Note: From my understanding this IS a code issue as it didn't work since the beginning and is implemented by yalu itself.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub (https://github.com/kpwn/yalu102/issues/364), or mute the thread (https://github.com/notifications/unsubscribe-auth/ARGTBqY5u2MvtBjLhf9zdbiup0QH5axMks5rYPK5gaJpZM4L0YZW).

Amcio commented 7 years ago

Yes this is a issue I already asked for help on Reddit but nothing fixes it. I tried USB tunnel etc. but they do not work. Port scan doesn't even show port 22 as open.

OGKevin commented 7 years ago

Seeing that u want to ssh to port 22 means that y haven't done ur research right. Unfortunately im not on pc and cannot provide with the link to the tutorial. But again SSH over usb seems to work just fine so this isn't a issue.

On 1 feb. 2017 22:21 +0100, Amcio notifications@github.com, wrote:

Yes this is a issue I already asked for help on Reddit but nothing fixes it. I tried USB tunnel etc. but they do not work. Port scan doesn't even show port 22 as open.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub (https://github.com/kpwn/yalu102/issues/364#issuecomment-276786050), or mute the thread (https://github.com/notifications/unsubscribe-auth/ARGTBvxqWsWnaAvMGtS6nw1TNwalIeKtks5rYPdZgaJpZM4L0YZW).

OGKevin commented 7 years ago

https://www.reddit.com/r/jailbreak/comments/5r2mwr/tutorial_how_to_use_dropbear_ssh_via_usb_on/

Amcio commented 7 years ago

Here's what I tried:

SSH over USB port 22 phone computer port 2222 connecting to local host = server unexpectedly closed connection

iFunBox tunnel never actually worked for me

I made a post about it on Reddit and someone told me I need to run dropbear -R -F -p 22 and then use ssh tunnel. I did that and it also didn't work. Also I don't know if it should but dropbear doesn't start automatically after jb. I think that's all I tried...

OGKevin commented 7 years ago

reboot and rejailbreak and follow the tutorial that i have provided to you. Dropbear -F -R -p 22 is a fix for iOS 10.1.1 not 10.2

On 1 feb. 2017 22:30 +0100, Amcio notifications@github.com, wrote:

Here's what I tried: SSH over USB port 22 phone computer port 2222 connecting to local host = server unexpectedly closed connection iFunBox tunnel never actually worked for me I made a post about it on Reddit and someone told me I need to run dropbear -R -F -p 22 and then use ssh tunnel. I did that and it also didn't work. Also I don't know if it should but dropbear doesn't start automatically after jb. I think that's all I tried... — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

Amcio commented 7 years ago

Did that and still: Server unexpectedly closed connection

0neday commented 7 years ago

check the directory /etc/dropbear whether exist or not on your device. Do you install MTerminal? If you install it, you can just tap dropbear command, and then try again

0neday commented 7 years ago

Or install xshell on your windows, then tap "ssh mobile@127.0.0.1 -p 2222 -v" to view verbose info

Amcio commented 7 years ago

It exists and when i type the command it still doesn't work... and I try xshell when I get access to my pc

0neday commented 7 years ago

Pls paste the verbose info in here

kpwn commented 7 years ago

This is expected behaviour if you install OpenSSH on top of dropbear. Are you sure you didn't do so?

Amcio commented 7 years ago

It appears that it's something wrong with putty. Because Xshell works just fine and putty gives me an error. This is the last thing i would think about. As i tried connecting once from my linux machine and it didn't work. Or maybe the: "Have you tried turning it off and on again?" rule fixed it. I will never know... Well the issue can be closed now. Thanks for help.

thosuperman commented 7 years ago

This solution works like a charm

https://www.reddit.com/r/jailbreak/comments/5r2mwr/tutorial_how_to_use_dropbear_ssh_via_usb_on/