Results 1 to 2 of 2

Thread: What IP address do i need in order to connects SSH from an outside network?Thanx

  1. #1
    Join Date
    Mar 2013
    Beans
    38
    Distro
    Ubuntu Gnome

    What IP address do i need in order to connects SSH from an outside network?Thanx

    And how is it labeled and how do i find it? Im noobish guys so be gentle with the slang.
    Thanx

  2. #2
    Join Date
    Mar 2010
    Location
    Squidbilly-land
    Beans
    10,639
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: What IP address do i need in order to connects SSH from an outside network?Thanx

    First be certain you did this stuff: https://help.ubuntu.com/community/SS...SH/Configuring

    Don't run on port 22 or use your router to translate from some other port on the WAN side to port 22 internally. This makes life easier.

    You need to know the public IP for your router. It may be mostly static or DHCP with changes happening every 12 hours. Most people use a dynamic DNS service to make finding their home WAN IP address easier. I setup Mom's router with DynDNS, so I could remotely access her Linux machine easier. It is a no-brainer. Many home/SOHO router firmwares have this capability built-in - dd-wrt, tomato and openWRT have it too. Those are aftermarker, F/LOSS firmwares for popular routers. Usually running dd-wrt or the other after-marker firmwares are much more secure than running whatever the router maker provides.

    You can make a note of the public IP and just use that if you like too. Of course, if your "public IP" is not really a public IP - like most cellular data networks provide, then there is nothing you can do to remote into your home PC. RFC 1918 https://tools.ietf.org/html/rfc1918 is where you can see which IPs are meant for private network use, hence those will not be routed over the public internet.

    I wrote up a "how to secure ssh" article here http://blog.jdpfu.com/2011/08/23/sec...cking-failures that might be useful too. It may not be easy to understand, so have wikipedia open to look up any terms you do not understand. Google is your friend too.

    Clear as mud?

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
  •