The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

2.2 Unlock / Jailbreak OS X | Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > Computer Modding Software > OS X Specific Modding Discussion
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-16-2007, 11:32 PM
iPhoneWriter's Avatar
iPhone? More like MyPhone
 
Join Date: Aug 2007
Posts: 149
Thanks: 1
Thanked 25 Times in 19 Posts
SSH WIKI Worked Perfect... Except

Okay, so I did a complete restore using iTunes, to ensure a fresh start. Then, I executed the step-by-step instructions in the WIKI's to get MacPorts, and iPHUC and all the other goodies installed, including SSH. No issues, I can do ringtones and icons and iPHUC all day long.. installed without a hitch, you might say exactly as the WIKI's said it would/should. Except…

..except that when I try to connect via SSH, the connection just times out. I checked/doubled-checked the IP I am pulling on the iPhone, it’s as it should be. I also confirmed no firewall issues exist for port 22. Still, the connection times out. Here’s a debug’d output of the last attempt:

MacBook:~ myUserName$ ssh -vv root@192.168.2.25
OpenSSH_4.5p1, OpenSSL 0.9.7l 28 Sep 2006
debug1: Reading configuration data /etc/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to 192.168.2.25 [192.168.2.25] port 22.
debug1: connect to address 192.168.2.25 port 22: Operation timed out
ssh: connect to host 192.168.2.25 port 22: Operation timed out

Any thoughts on what the “hang up” might be? At this point, I am running a completely stock iPhone with your program executed/installed against it. Any feedback will be more than welcome, so thanks in advance!

(I did a bit of searching first, on Google and multiple forums, so no justf**kinggoogleit.com links please.)
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #2 (permalink)  
Old 08-17-2007, 01:26 AM
poetic_folly's Avatar
Owner / Founder - ModMyi
aka Kyle Matthews
 
Join Date: May 2007
Device + Firmware: iPhone 3G | 2.2.1 | Jailbroke
Operating System: OS X Leopard 10.5.6
Posts: 8,217
Thanks: 277
Thanked 2,240 Times in 788 Posts

Make sure you have set your iPhone settings to not have the screen go dim at all?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #3 (permalink)  
Old 08-17-2007, 07:00 AM
iPhoneWriter's Avatar
iPhone? More like MyPhone
 
Join Date: Aug 2007
Posts: 149
Thanks: 1
Thanked 25 Times in 19 Posts

Quote:
Originally Posted by poetic_folly View Post
Make sure you have set your iPhone settings to not have the screen go dim at all?
Well, I checked it and made sure the screen stayed on/unlocked while I tired again. Same result... the SSH connection just times out.

Is there a command that can be executed within iPHUC to change permissions on a file (that's about the only thing I need SSH for, near as I can tell as I can copy App's to/fro using iPHUC) or someway to manually launch the SSHD service on the iPhone.

Frustrating!

Okay, so I finally figured out what was going on. To review, although I was able to do the SSH install without error, I couldn't connect... the connection attempt would just time out. So, I re-read the WIKI's, consulted the forums, did some Googling and tried again. Same result.

So, not being one to give up and taking it somewhat personally at this point, I looked for (and tried) alternate method's. Different combinations of Restoring my Apple iPhone, along with ./jailbreak vs. iFunastic vs. iActivator, and all variations of step-by-step and "easy" installs. Long story short, each method that worked without error (successfully) end with the same result of being unable to connect... the connection attempt would just time out.

I pressed on, and I am glad I did. As luck would have it, on yet another iTunes->Restore for my Apple iPhone, I decided to try *not* synching the iPhone after the restoration, basically keeping it as close to the "out of the box" product as possible. The iPhone was activated, but I didn't let it synch and that made all the difference. Something about eh synching of the data *before* installing SSH was the culprit behind being unable to connect.

The end result? Well, after that last iTunes->Restore, the SSH installation process went without a hitch and I was able to successfully SSH into the iPhone. Given I was already able to ./jailbreak and iPHUC, being able to SSH opened up the flood gates and my Apple iPhone is now fully tweaked.

Some notes I discovered along the way, in hopes that all of this information will help someone else.
The ModMyI iPhone Skinner rocks. Use the file it produces with (a .IPB file) along with Install IPB to easily and fully customize the look of the Apple iPhone.
The Install IPB application works best with the iPhone *after* the iPhone has been "freed" using iFuntastic. It doesn't seem to work right using ./jailbreak or iActivator.
Whatever iPhone Skinner doesn't change, iFuntastic can (like the mail alert sound or battery cons, etc.)
iFuntastic cannot be used to install new applications.
There are several "quick and easy" install programs for SSH. They all seem to work best with iActivator vs. iFuntastic. Ultimately, I prefer the package put together by BlueDonkey, which does not require using iActivator or iFuntastic or anything first. Using it *immediately* after the "clean' iTunes-Restore was the ideal combination for me (iFuntastic, iActivator and iPHUC were all installed, I just didn't use any of them. BlueDonkey's package has it all covered.)
The ModMyI WIKI's are awesome, but you have got to follow them precisely. Take your time and focus Danielson.
Once SSH is installed and you are able to successfully SSH into your iPhone, everything else is a cakewalk.
Installing new applications works best with iActivator, iPHUC and SSH *but* using SCP to copy the application to the iPhone instead of iPHUC (it takes fewer steps.)

A huge thanks to everyone who offered assistance along the way. Every little bit helped and ultimately got me to the goodness I am enjoying now. I hope this collection of tidbits steers someone else in the right direction along the way. It feels good when the kid gloves come off!

Last edited by iPhoneWriter; 08-17-2007 at 08:42 PM.. Reason: Automerged Doublepost
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > Computer Modding Software > OS X Specific Modding Discussion

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


Go to Top
ModMyI

All times are GMT -6. The time now is 02:22 AM. Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 | Dedicated Server Hosting by SingleHop | Copyright © 2007-09 by ModMy, LLC. All rights reserved.

RSS / Contact Us / / ModMyi Home / Archive / Privacy Statement / Top


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408