Results 1 to 5 of 5

Thread: connect to home ssh server, I am missing somthing obvious...

  1. #1
    Join Date
    Jun 2010
    Beans
    36

    connect to home ssh server, I am missing somthing obvious...

    This is one of those problems where I don't know a piece of assumed knowledge, so I am not understanding the How To guides.

    I have set up ssh on one of my computers at home. I can log into it from within my home network by typing

    Code:
    ssh username@IPadressOfServer
    This works fine.

    How do I access my server from outside my home network?

    As I understand it all of my home computers have the same external ip address, so I need to specifiy that IP address then my individual machine's IP address?

    Is this right, and what does the command look like. Or is there a better way of doing it?

    Thanks in advance.

    All computers have Ubuntu 10.04 LTS.

  2. #2
    Join Date
    Mar 2010
    Location
    Dublin, Ireland
    Beans
    Hidden!
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: connect to home ssh server, I am missing somthing obvious...

    To do this from outside, you would need to forward tcp port 22 from your Internet router to port 22 of the IP address of the home server. How to do this depends on your specific Internet router.

    When you have, then you can connect from outside with:

    Code:
    ssh username@external-ip-address
    Matt
    blog.mattrudge.net for extra helpings of geeky Ubuntu goodness
    Get the Ubuntu Weekly Newsletter

  3. #3
    Join Date
    Jun 2010
    Beans
    36

    Re: connect to home ssh server, I am missing somthing obvious...

    Thank you, that makes a lot of sense.

  4. #4
    Join Date
    Jan 2008
    Location
    Germany
    Beans
    264
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: connect to home ssh server, I am missing somthing obvious...

    If your not bound by a static IP it's also easiest to use a service such as dyndns.org or something along those lines and then point your router/gateway at that.. For example, my provider changes my ip everyday at 12:00.. with dnydns I can always use a regular url and dyndns will point that url to my dynamic ip.. hope that helps.
    Specs:
    Desktop; Intel Core 2 Quad Q8200@ 2.33GHz, 4 gb RAM, Geforce 9800GT and an Asus eeepc1000h

  5. #5
    Join Date
    Apr 2010
    Location
    Virginia
    Beans
    60
    Distro
    Xubuntu 11.10 Oneiric Ocelot

    Re: connect to home ssh server, I am missing somthing obvious...

    Quote Originally Posted by hovzio View Post
    If your not bound by a static IP it's also easiest to use a service such as dyndns.org or something along those lines and then point your router/gateway at that.. For example, my provider changes my ip everyday at 12:00.. with dnydns I can always use a regular url and dyndns will point that url to my dynamic ip.. hope that helps.
    In the past I too have used dyndns and it worked nicely. I have not used it in awhile but I recently read that it is no longer free. Is this true? Another service that offers something similar is no-ip.

Tags for this Thread

Bookmarks

Posting Permissions

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