Jump to content

No External SSH


boob00
 Share

Recommended Posts

Hello there,

I have had one server running Ubuntu server 10.04 for almost a year now going fine. I could ssh both from inside the network and outside. I recently came into getting another server, installed Ubuntu server 12.04 onto it. Now when outside the network I can only externally ssh into my new server. Even if the new server is off and disconnected from the network, and the old one is up and running. When i run the command "ssh (old)@[external ip]" it just times out. But when i run "ssh (new)@[external ip]" i get in fine. I need to be able to get into both servers externally. If it matters my old server has a static local ip of 192.168.1.142 and my new 192.168.1.110 I have looked all over the Ubuntu forums for help but none of the solutions have worked. Help is needed!!!!

Thanks - BOOB00

Link to comment
Share on other sites

You need to setup two different external ports and have them route to the appropriate internal IP:Port combo.

What?

Thank you for the help! I will try that tonight. And with that i was trying to say that with both servers running, I can only ssh into the new one from outside my network.

You need to change the port of one of the servers, you cannot have them booth running on port 22 and port-forward both of them.

Thanks newbi3!

Although i still have one question, even with the new server off I still can not even ssh into my old one from outside the network.

Edited by BOOB00
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...