Accessing Server Internet Connection Using SSH (Secure Shell)


SSH is powerfull command line tool for tranfering data through secure channel ( Using Encryption alternate to telnet command), and also you can access all components from server like firefox ,terminal etc …

Scenario
1) You have 10 systems / computers connected with LAN (Local Area Network)
Server IP address : 10.0.0.1
Switch / Router IP : 10.0.0.2
Clients IP range : 10.0.0.3 to 10.0.0.11

2) You have internet connection on your server (10.0.0.1 or any linux machine)
3) Now You want to access the server internet connetion from client (eg:10.0.0.4)
Here is the step by step guide for this scenario
Server Side Configuration (10.0.0.1)
1. Download and Install the lateset version of SSH software from http://www.openssh.org/website
(If you have any problem with installation check the Installation link

2. After installation , start the ssh server (sshd daemon) from terminal
a) For Redhat and Fedora
server# service sshd start
b) For Debian and Ubuntu
server# /etc/init.d/sshd start
Client Side Internet Access (10.0.0.4)
1. Goto terminal and type the following command
client# ssh -X antony@10.0.0.1
Now you need to provide password for antony
(antony is the normal user of server system 10.0.0.1)

2. After getting the connection you can access the server terminal
server#

3. Here type firefox or konqureor or opera
server# firefox

4. Now firefox will open and you can access the internet conneciton from server
Note : when you want to save or download the file , that will be stored into server system only.

No comments:

Post a Comment