+ Reply
Results 1 to 8 of 8
  1. #1
    iPhone? More like MyPhone giancarlo's Avatar
    Join Date
    Aug 2007
    Posts
    164
    Thanks
    12
    Thanked 8 Times in 5 Posts

    Default Read all the guides..still stuck with ssh!

    I have never been able to successfully SSH into my phone. I've used FUGU, CYBERDUCK and every other program listed on the wiki guides. Not once have I ben successfull, putting port 22 user root and PW is alpine set to SFTP. I just tried again now and received this error:

    The connect() operation on the socket timed out.

    I have boss prefs installed and cycled SSH on and off, I've uninstalled OPENSSH and reinstalled, restarted phone, soft reboot, hard reboot...aLL KINDS OF REBOOTS and nothing. I just tried on my White 3G with ATT and also with my 2G running 1.1.4 on TMOBILE. Is there a setting on my mac i need to chance, is there a setting on my phone i need to change? I want to get this working definitely now because of the new TZONES hack, and I really dont want to upgrade to 2.0 on my 2G just because I cant deal with the bugs on two phones....someone guide me, and don't tell me "Use the search button" or "read the guides" because I've seen you guys flaming others for asking questions with no research first.

    Thanks

  2. #2
    Livin the iPhone Life SundayDuffer's Avatar
    Join Date
    Aug 2007
    Location
    Northern California
    Posts
    1,503
    Thanks
    32
    Thanked 181 Times in 164 Posts

    the host key probably doesnt match.
    How comfortable are you with re-pwn? you might have to do that.

  3. #3
    iPhone? More like MyPhone giancarlo's Avatar
    Join Date
    Aug 2007
    Posts
    164
    Thanks
    12
    Thanked 8 Times in 5 Posts

    re-pwn the phone? Do you think it will have to do with that? My 2G on 1.1.4 with unlocked using ZIPHONE 3.0 and that one doesn't work either...

  4. #4
    iPhoneaholic jakecigar's Avatar
    Join Date
    Aug 2007
    Location
    San Francisco, CA
    Posts
    476
    Thanks
    24
    Thanked 112 Times in 94 Posts

    don't re-pwn! don't reboot any more!

    verify that your iPhone is using your network (not a neighbor's). then write down the IP address it is using.

    go into Terminal on your mac, and enter the command
    ssh [email protected]

    find your TRUE errors, and correct them!

    almost all version updates run into the "old host key" problem on OS X.
    http://jpassoc.com/x -- with free itunes under the puppy!
    If I help you out, please press THANKS!

    3g QuickPWN'ed with 2.1

  5. #5
    Livin the iPhone Life SundayDuffer's Avatar
    Join Date
    Aug 2007
    Location
    Northern California
    Posts
    1,503
    Thanks
    32
    Thanked 181 Times in 164 Posts

    it happened to me on my first gen once..the fix for that was, i used PuttyGen to create a host key and use that key to launch WinPSC. This was on PC.

    And for the 3G, it happened again...and now that i am on a MAC..didnt know how to create host key, so i restored, repwned, and it worked. Currently using Transmit and Cyberduck.

  6. #6
    iPhone? More like MyPhone giancarlo's Avatar
    Join Date
    Aug 2007
    Posts
    164
    Thanks
    12
    Thanked 8 Times in 5 Posts

    awesome, at the office now but will try this tonight. Thanks for the help guys

    ok so i went into terminal and entered the [email protected] and it returned this message:

    :CONNECT TO HOST PORT 22 OPERATION TIMED OUT

    Any ideas, its actually the same error i get sometimes when I use Cyberduck
    Last edited by giancarlo; 08-29-2008 at 07:07 PM. Reason: Automerged Doublepost

  7. #7
    iPhoneaholic jakecigar's Avatar
    Join Date
    Aug 2007
    Location
    San Francisco, CA
    Posts
    476
    Thanks
    24
    Thanked 112 Times in 94 Posts

    that means the iPhone isn't running ssh or your router is blocking that port or it's the wrong IP address or wrong router.

    what happens when you ping your iPhone? you should get
    Code:
    ping xxx
    PING xxx (192.168.15.112): 56 data bytes
    64 bytes from 192.168.15.112: icmp_seq=0 ttl=64 time=122.725 ms
    64 bytes from 192.168.15.112: icmp_seq=1 ttl=64 time=456.123 ms
    when I ssh to the wrong IP address I get timed out.
    Code:
    ssh [email protected]
    ssh: connect to host 192.168.15.107 port 22: Operation timed out
    Last edited by jakecigar; 08-29-2008 at 08:25 PM.
    http://jpassoc.com/x -- with free itunes under the puppy!
    If I help you out, please press THANKS!

    3g QuickPWN'ed with 2.1

  8. The Following User Says Thank You to jakecigar For This Useful Post:

    giancarlo (08-29-2008)

  9. #8
    iPhone? More like MyPhone giancarlo's Avatar
    Join Date
    Aug 2007
    Posts
    164
    Thanks
    12
    Thanked 8 Times in 5 Posts

    thanks....will try it on a buddies WIFI.....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts