SSH not connecting - iPhone 3.0 and Snow Leopard

Discussion in 'Jailbreaks and iOS Hacks' started by hellomoto4, Sep 1, 2009.

  1. hellomoto4 macrumors 6502a

    hellomoto4

    Joined:
    Jul 11, 2008
    Location:
    Australia
    #1
    Ever since I got Snow Leopard, SSH to my iPhone 3G hasn't worked.
    I am always getting this message on terminal:
    Code:
    bens-macbook-2:~ ben$ ssh root@192.168.0.9
    ssh: connect to host 192.168.0.9 port 22: Operation timed out
    
    I've tried everything I can think of:
    - Redownload OpenSSH on Cydia
    - Made sure SSH is enabled on my iPhone
    - Made sure the iPhone is active and the screen is on the home springboard page
    - Tried connecting via Transmit
    - My password is still alpine
    - Tried deleting known_hosts from /~/.ssh/ but no luck
    - I am definitely connecting on the correct IP address too.

    What else can I do to get SSH back working between my iPhone and Macbook running SL?

    Thanks
     
  2. bytethese macrumors 68030

    bytethese

    Joined:
    Jun 20, 2007
    Location:
    Cranford, NJ
    #2
    Can you ping your iPhone's IP address and get a reply?
     
  3. dhlizard macrumors G4

    dhlizard

    Joined:
    Mar 16, 2009
    Location:
    The Jailbreak Community
  4. hellomoto4 thread starter macrumors 6502a

    hellomoto4

    Joined:
    Jul 11, 2008
    Location:
    Australia
    #4
    Code:
    Last login: Tue Sep  1 23:46:26 on ttys000
    bens--macbook-2:~ ben$ ping 192.168.0.9
    PING 192.168.0.9 (192.168.0.9): 56 data bytes
    Request timeout for icmp_seq 0
    Request timeout for icmp_seq 1
    Request timeout for icmp_seq 2
    Request timeout for icmp_seq 3
    ping: sendto: No route to host
    Request timeout for icmp_seq 4
    ping: sendto: Host is down
    Request timeout for icmp_seq 5
    ping: sendto: Host is down
    Request timeout for icmp_seq 6
    ping: sendto: Host is down
    Request timeout for icmp_seq 7
    ping: sendto: Host is down
    Request timeout for icmp_seq 8
    ping: sendto: Host is down
    Request timeout for icmp_seq 9
    ping: sendto: Host is down
    Request timeout for icmp_seq 10
    ping: sendto: Host is down
    Request timeout for icmp_seq 11
    ping: sendto: Host is down
    Request timeout for icmp_seq 12
    ping: sendto: Host is down
    Request timeout for icmp_seq 13
    ping: sendto: Host is down
    Request timeout for icmp_seq 14
    ping: sendto: Host is down
    Request timeout for icmp_seq 15
    ping: sendto: Host is down
    Request timeout for icmp_seq 16
    ping: sendto: Host is down
    Request timeout for icmp_seq 17
     
  5. hellomoto4 thread starter macrumors 6502a

    hellomoto4

    Joined:
    Jul 11, 2008
    Location:
    Australia
    #5
    Also not working.

    I assume it's an iPhone error as its not even connecting (nor pinging)
     
  6. hellomoto4 thread starter macrumors 6502a

    hellomoto4

    Joined:
    Jul 11, 2008
    Location:
    Australia
    #6
    Further information gathered:

    After trying to connect on a friend's wireless network, it connected seamlessly.

    Could it be a problem with my router settings?

    Thanks
     
  7. csrx macrumors member

    Joined:
    Jul 5, 2007
    Location:
    NYC
    #7
    I have a solution for you. Snow Leopard has this disabled by default.

    Modify the file /etc/ssh_config to get it working.

    Change

    into


     

Share This Page