Cannot SSH on School Wi-Fi

Discussion in 'iPhone Tips, Help and Troubleshooting' started by albinoAZN, Aug 18, 2008.

  1. albinoAZN macrumors regular

    Joined:
    Nov 19, 2007
    #1
    For some reason, I cannot SSH to my iPhone when I'm on my uni's wifi network. There's no other connection, so I would desperately like to learn how to get around this. I just moved into my dorm a couple days ago.

    I'm on an 8GB iPhone 2G and a Macbook.
     
  2. wgr73 macrumors 6502a

    wgr73

    Joined:
    Oct 31, 2005
    Location:
    New Mexico
    #2
    If they have port 22 blocked you can't ssh...that's a possibility
     
  3. albinoAZN thread starter macrumors regular

    Joined:
    Nov 19, 2007
    #3
    That's what my friend and I came up with. Is there anyway to work around that?
     
  4. sdsvtdriver macrumors 65816

    Joined:
    Jul 31, 2008
    Location:
    Southern California
  5. squeakyclutch macrumors member

    squeakyclutch

    Joined:
    Jul 30, 2008
    Location:
    Westwood, CA
  6. waw74 macrumors 68030

    Joined:
    May 27, 2008
    #6
    in the time it took you to hit reply and type that, you could have opened a new window and googled it.
     
  7. albinoAZN thread starter macrumors regular

    Joined:
    Nov 19, 2007
    #7
    How do I get my iPhone to use a different port so that they are on the same port when trying to SSH?

    BTW, thank you for the helpful reply.
     
  8. albinoAZN thread starter macrumors regular

    Joined:
    Nov 19, 2007
    #8
    Can anybody help me with how to SSH into my iPhone using a different port than 22?
     
  9. tommynsong macrumors newbie

    Joined:
    Aug 20, 2008
    #9
    If i remember correctly, you need to edit /etc/services and change the port number for sshd service. Save the file, not sure if you need to restart the whole phone or just sshd service.

    Hope that would help.

    Tommy

     
  10. albinoAZN thread starter macrumors regular

    Joined:
    Nov 19, 2007
    #10
    How can I edit the file if I can't get into the phone?
     
  11. tommynsong macrumors newbie

    Joined:
    Aug 20, 2008
    #11
    You may have to wait until you connected to a wifi where you port 22 is not blocked. The lack of ESC key will make editing via Mobile Terminal impossible (unless you want to change it to other 2 digit port number 01-99).


     

Share This Page