Find the answer to your Linux question:
Results 1 to 5 of 5
Hi; I can establish SSH connection between two Slackware installed Linux machines connected on the same DSL router using local IP numbers (192.168.x.x), in other words, there is no problem ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2007
    Posts
    9

    How to remote login using SSH?


    Hi;
    I can establish SSH connection between two Slackware installed Linux machines connected on the same DSL router using local IP numbers (192.168.x.x), in other words, there is no problem for SSH connection between the machines on the same LAN. I can do it as in below.

    Code:
    ssh user@local_IP
    Now, my question is about two external Slackware machines. I want to establish connection between these two external machines. These external Slackware machines connected to internet directly through a DSL router. ISP assigns external IP to these machines dynamically. I have tried to replace local IP with external IP, but nothing happened (Cursor only passed to the second row).
    How can I establish SSH connection?

  2. #2
    Linux Guru bigtomrodney's Avatar
    Join Date
    Nov 2004
    Location
    Ireland
    Posts
    6,132
    Normally when using a router you have to use NAT to forward the relevant port to the machine in question. The Portforward.com site has some good walkthroughs on this.

  3. #3
    Just Joined!
    Join Date
    Dec 2007
    Posts
    9
    Quote Originally Posted by bigtomrodney View Post
    Normally when using a router you have to use NAT to forward the relevant port to the machine in question. The Portforward.com site has some good walkthroughs on this.
    Thank you very much bigtomrodney, I am looking there now.

  4. #4
    Just Joined!
    Join Date
    Dec 2007
    Posts
    9
    Again thank you very much, "Port Forwarding" solved my problem.

  5. #5
    Linux Guru bigtomrodney's Avatar
    Join Date
    Nov 2004
    Location
    Ireland
    Posts
    6,132
    Glad to help

Posting Permissions

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