-   Linux - Networking (
-   -   want to setup homenetwork (

getinfo 10-27-2004 01:42 AM

want to setup homenetwork

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
l l l
l l l
Wireless NETGEAR router
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



jschiwal 10-27-2004 02:05 AM

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.

getinfo 10-27-2004 02:17 AM

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 it is going to be easy for me

Thanx alot for reply

n3tw0rk 10-27-2004 02:43 AM

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.

knutove1728 10-27-2004 05:26 AM

open port 22 in the firewall to begin with.

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