Remotely Access Ubuntu Server
Hello Guys,
I have Ubuntu 10.10 server, I have installed ssh in it and it's working fine but i want to access my server from outside the office through ssh i do have Static ip kindly let me know the procedure. |
Take a look at this similar question.
http://www.linuxquestions.org/questi...de-lan-513343/ or you can run the command on the system outside LAN if you know password of the user. Quote:
Now it will ask for password of username, enter it and you are connected to the server remotely. If you do not know the password then you should have authorized key files of the server like .pem file or similar file. Take a look here http://support.suso.com/supki/SSH_Tutorial_for_Linux |
I have followed the instruction but didn't succeed. My server is connected with a router and a router has PTCL internet connected with it which has Static IP which is 203.135.58.152and when i connect ssh it doesn't work.
|
You need to forward the external port to the internal ip of the target machine.
Check out the web control panel of your router. |
and if i want to make my server online like a website so may user can use it easily what procedure should i use ?
|
Hi Majid,
You need to use port forwarding if there is a router involved, but it may still create issues for you. Best way is to permanently add the dedicated public IP address on your ethernet card & it must be shown when you run the ifconfig command. This way your users will be able to access easily over the internet. By the way, I just tried to ping it and it is reachable: C:\Users>ping 203.135.58.152 Pinging 203.135.58.152 with 32 bytes of data: Reply from 203.135.58.152: bytes=32 time=212ms TTL=51 Reply from 203.135.58.152: bytes=32 time=244ms TTL=51 Reply from 203.135.58.152: bytes=32 time=219ms TTL=51 |
Quote:
Quote:
Quote:
Forward the target port (80 for web) to the internal machine. |
If you're going to expose this machine to the world, please
1. get up to date (v12 is out) 2. read the Sticky posts in the Security Forum. You'll thanks me later :) |
All times are GMT -5. The time now is 11:20 PM. |