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 :newbie: |
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. |
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 |
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.
|
open port 22 in the firewall to begin with.
|
All times are GMT -5. The time now is 04:38 PM. |