Results 1 to 5 of 5

Thread: ssh over the internet

  1. #1
    Join Date
    Jan 2008
    Beans
    81

    ssh over the internet

    I would like to access my ubuntu machine via ssh over the internet.
    Is there instruction on how this is done.

    I have openssh intstalled and working on the Lan.
    I have registered on no-ip

  2. #2
    Join Date
    Mar 2009
    Beans
    34

    Re: ssh over the internet

    Hi,
    is your ssh server behind a router? If it is then you have to forward ssh port to your server on router. You didnt say what exactly is your problem; for connecting to ssh you can use putty.

  3. #3
    Join Date
    Jan 2008
    Beans
    81

    Re: ssh over the internet

    Yes I am using putty... So I put in the router portforwarding
    on port 22 to internal local ip what would be the external port and do i need source address

  4. #4
    Join Date
    Mar 2009
    Beans
    34

    Re: ssh over the internet

    You dont need to specify source IP address, you can just forward all requests to specific port. Easiest way is to forward external tcp port 22 to internal IP tcp port 22, if your ssh is running on default port 22.
    Then you just have to connect from internet to your external router IP on port 22 with ssh protocol.
    If you have some troubles with settings of your router you can check this site, there are guides for many services and routers, including ssh:
    http://www.portforward.com
    http://portforward.com/english/appli...H/SSHindex.htm
    Last edited by jsra; January 16th, 2012 at 09:34 PM. Reason: typo

  5. #5
    Join Date
    Nov 2006
    Location
    Craggy Island.
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: ssh over the internet

    Hello

    If you open a terminal window

    (just type terminal in search bar)
    and run

    Code:
    sudo tcpdump -i any port 22
    let the thing sit there monitoring.

    Ssh from outside.
    If no packets appear then your either being blocked on 22 by the ISP or your forwarding isnt working
    You can tell a man who boozes by the company he chooses, as the pig got up and slowly walked away.

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
  •