LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-27-2004, 01:42 AM   #1
getinfo
LQ Newbie
 
Registered: Oct 2004
Posts: 3

Rep: Reputation: 0
Post want to setup homenetwork


Hi,

I am kind of newbie to LINUX ..but I am very much interested to learn ..I am learning slowly....But i have a small doubt to set up my Linux Box

Here is My home Setup:

Windows BOX Linux Box My Laptop
l l l
192.168.0.3 192.168.0.4 192.168.0.5
l l l
l l l
-----------------------------------------------------
l
l
Wireless NETGEAR router
l
l
l
DSL Internet Connection

With this setup Evevrything working fine ....Mean to say I am able to connect outside world from any of my system

Here is My q:

Now, i want to connect to my Linux Box from outside world through ssh.Is it possible to connect to My linux box from outside world.

It is going to be real helpful ...if someone help me in this

Thanx..getinfo

 
Old 10-27-2004, 02:05 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678
I have a Linksys cable/dsl router but perhaps your router is similar.
You need to tell the router which computer to send port 22 traffic.

Also, you need to allow outside access to the ssh service.

Also, read through the ssh man and info pages. You need to generate a key pair. If you have physical access to the remote machine, you can add your public key to the remote computers 'trustedhosts' file. Adding the remote computers public key to your own 'trustedhosts' file will allow connecting without entering a password if that is what you want to do.
 
Old 10-27-2004, 02:17 AM   #3
getinfo
LQ Newbie
 
Registered: Oct 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Thanx jschiwal,

The thing is how can we setup
"You need to tell the router which computer to send port 22 traffic"

Can you give me a brief explanation for me ..so it is going to be easy for me

Thanx alot for reply
 
Old 10-27-2004, 02:43 AM   #4
n3tw0rk
Member
 
Registered: Sep 2003
Location: Rawalpindi, Pakistan
Distribution: Slackware
Posts: 86

Rep: Reputation: 15
Because your Linux box doesn't have a static (Internet) IP, so in order to make the ssh service available from the Internet, you need to configure your router. Usually this configuration is called "port forwarding" as what you want is that all the traffic for port 22 coming into your router should be forwarded to your Linux box. Port 22 ofcourse is for the ssh service. The port forwarding configuration would ask you for a port and IP address, for the port you would specify 22 and IP address will be that of the Linux box.
 
Old 10-27-2004, 05:26 AM   #5
knutove1728
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Redhat FC2
Posts: 44

Rep: Reputation: 15
open port 22 in the firewall to begin with.
 
  


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
Homenetwork with Wireless Router freshjones Linux - Wireless Networking 9 11-26-2005 05:50 PM
Error Message during 802.11b setup for Intersil Card ( prism2_usb ) setup in SoC archak Linux - Wireless Networking 0 10-13-2004 03:21 AM
[SUSE 9.1 PROF] How can I copy the setup files to my harddisk and start the setup? TheRealFalcon Linux - Distributions 1 08-07-2004 11:49 PM
ppp drops out on homenetwork justwantin Linux - Networking 0 06-15-2004 05:03 PM
Change 7CD setup to 1 DVD setup GaX Mandriva 1 04-22-2004 05:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:18 AM.

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
Open Source Consulting | Domain Registration