LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-21-2011, 07:15 AM   #1
GBIEC
LQ Newbie
 
Registered: Oct 2011
Location: London
Distribution: Ubuntu, Red Hat
Posts: 6

Rep: Reputation: Disabled
Post How to access Linux server from Internet ?????


Hello folks,

I am looking to access my Linux box from the intetnet for educations and administration prposes.

I have been trying to search through internet but cudnt really find any good thread or tutorial.

But i believe there is a way i can ssh it over public IP. If anyone of you can talk me through that would be much appreciated.

Thanks in advance and all advices are welcome.

Cheers
 
Old 10-21-2011, 08:00 AM   #2
ashish_neekhra
Member
 
Registered: Nov 2007
Posts: 67

Rep: Reputation: 4
Yes one way is through SSH & other one is VNC if you want GUI access.
 
0 members found this post helpful.
Old 10-21-2011, 08:11 AM   #3
GBIEC
LQ Newbie
 
Registered: Oct 2011
Location: London
Distribution: Ubuntu, Red Hat
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thanks for your reply Ashish,

I dont really fancy GUI so i would rather like to have CLI mode through SSH.

I did check on the website you reffered but couldnt find anything on SSH tunneling.
 
Old 10-21-2011, 08:12 AM   #4
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 384
Blog Entries: 2

Rep: Reputation: 96
Its as simple as running
Code:
ssh username@myserver.net
from a prompt. Followed by the password for shell access to your box.

If you have setup ssh correctly and have trouble connecting from outside your network, you are most likely behind a router which has a built in firewall, you probably want to port forward the settings so you can connect from outside.

Although its good practice to change the default port of 22 for ssh to avoid scanners from finding you, use a typically uncommon port.
 
Old 10-21-2011, 08:18 AM   #5
GBIEC
LQ Newbie
 
Registered: Oct 2011
Location: London
Distribution: Ubuntu, Red Hat
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thanks for your reply mate,

I have configured SSH fine because i can ssh it from my other window box and i got Virgin router and i dont have any port forwarding option on that however i have enabled it for remote login.
 
Old 10-21-2011, 03:04 PM   #6
themande
LQ Newbie
 
Registered: Jun 2011
Location: Pune, India
Distribution: CentOS6
Posts: 20

Rep: Reputation: 0
Please check this thread http://forums.whirlpool.net.au/forum...s.cfm?t=857677 which explains port-forwarding in virgin router.

I did such setup around two months back with my D-Link router. It works good with port forwarding. You have to provide destination IP and port number. The destination port will be 22 because ssh is using by default port 22. Two more things will required, IP of your router and port number to which ssh request will come.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] PPPOE server access the internet clients fail to access the internet simbini Linux - Newbie 3 08-31-2010 01:37 AM
how to access internet on linux clients By our Squid Proxy server farrukhndm Linux - Server 2 03-07-2009 07:22 AM
Internet Access for SUSE Linux Enterprice Server yang_wayne Linux - Newbie 1 01-26-2009 09:45 AM
How to set up Linux as a proxy server for internet access? Korshun Linux - Networking 1 04-04-2002 05:17 AM


All times are GMT -5. The time now is 12:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration