How to host an ssh server?

Posted by balki on Server Fault See other posts from Server Fault or by balki
Published on 2011-02-13T12:08:02Z Indexed on 2011/02/13 15:27 UTC
Read the original article Hit count: 233

Hi, I have a broadband internet connection. I have an wireless modem (Airtel India). I don't have a static ip address. I want to host a ssh/web/ftp server to be visible to the outside world just for testing and learning purpose so I can ask my friend to connect to my current ip address and test. My modem has an admin interface which allows to port forward and open ports. modem Configuration

I set up ssh server as shown and checked if port 22 is open using this website , Port Scan

And port 22 is open. I have an openssh server running and it works if i do, ssh [email protected] which is my local ip address but doesn't work if i do ssh [email protected] where 122.xx.xx.xx is my external ip address of my modem which i checked from whatismyipaddress.com. Since it looks like the port is open, I wonder if there is some setting I need to change in my server config to expose my server. How should I go about solving this?

© Server Fault or respective owner

Related posts about port-forwarding

Related posts about wireless-network