SSH to iPhone 4 will not work

mooo25

New member
Oct 7, 2012
3
0
0
Visit site
I just jailbroke my iPhone 4 6.0 a couple nights ago. It worked just fine, and i used redsn0w 0.9.13dev4 and then used terminal on my mac to use SSH to install Cydia, since this version of redsn0w doenst come with Cydia. I was installing apps and themes etc, but then i thought my phone locked up, so i did the reboot, holding the power button and the home button until the apple logo popped up. It restarted and then non of the jailbreak apps worked. I realized later on that i need to do a tether boot, and that is why nothing was working, most likely...

Anyway, me thinking that i needed to do everything all over again, i restored my phone and backed it up over iCloud. All my apps downloaded and everything was peachy, but when i went to jailbreak the phone this time, it didnt work properly. I jailbroke it with the same redsn0w edition, but when i had to install Cydia via SSH, this is what popped up:

ssh: connect to host 192.168.0.14 port 22: Connection refused

idk why it is doing this, i have been looking for a couple days trying to find a solution. I have restored my iphone over and over again and re-jailbreaking it, i have tried to SSH through other computers, no luck their either. I check the IP addresses to make sure it was right, and it was. I opened up the necessary ports on my router. Idk what else to do. I hope that someone here can help me, because it is really pissing me off, and i dont know why it worked the first time, but didnt work the second or third or forth, etc.
 

iDonev

Well-known member
Jan 11, 2011
876
35
0
Visit site
Have you tied jailbreaking before restoring from iCloud?
Try doing in the "Welcome Setup" right after you choose a wifi network.
 

daf1892

Member
Oct 31, 2011
14
0
0
Visit site
Might seem obvious and stupid, but did you tether reboot it after jailbreaking the phone before trying to install Cydia

I ask as I forgot that step first time round lol :eek:
 

3cit

Well-known member
Nov 6, 2011
3,044
63
0
Visit site
its also possible that your router assigned your "new" (you restored it, remember) iphone a different ip address... are you sure your using the correct address?

another thing, not sure its relevant, is that when i was using winSCP wirelessly, for no particular reason my iphone 4 wouldnt connect at all, then minutes later everything would be great..., since then ive switched to programs like ifunbox that allows terminal through a wired connection.
 

mooo25

New member
Oct 7, 2012
3
0
0
Visit site
I did do a tethered boot after every attempt to jailbreak. I also checked the ip address every single time to make sure it was right every time.