[Untitled]‎ > ‎

Remote SSH Access to the Homeserver Behind A Router

posted Mar 13, 2010 4:52 AM by J iNestdia   [ updated Apr 18, 2010 8:45 AM ]
suki b009 300x250

My homeserver is connected the Internet behind a router and an OpenSSH server is running on it. Here is way to access the homeserver from a remote location.

Step1: Install OpenSSH on the Homeserver

Step2: Router Port Forwarding Setting

Port forwarding of TCP Port 22 point to the homeserver IP address through the router.

Step3: Using ddclient with a Dynamic DNS service

Using a Dynamic DNS service(DynDNS.com in my case) to choose a hostname URL, myhomeserver.dnydns.com for example.

$ sudo apt-get install ddclient

Configuration file:

$ sudo nano /etc/ddclient.conf

#check every 1800 seconds

daemon=1800

#use secure SSL communications

ssl=yes

use=web, web=checkip.dyndns.com/, web-skip='IP Address'

login=my ID of DynDNS.com

password=’my PASSWORSD of DnyDNS.com’

myhomeserver.dnydns.com

Adidas Voucher MY Image Banner 300x250

suki b009 300x250

Phone Spy Image Banner 300 x 250

Scan B 007 300x250

Office Lady Scanner Image Banner 300 x 250

Sign in  |  Recent Site Activity  |  Terms  |  Report Abuse  |  Print page  |  Powered by Google Sites