Changes

From SME Server
Jump to navigationJump to search
754 bytes added ,  21:44, 13 March 2013
Line 148: Line 148:  
{{Note box| you need to forward in your router the port 22 (or whatever you decide) to your internal sme's ip and '''allow ssh in the server-manager with the root login and Password Authentication''' (Security/Remote Access menu). '''You can enhance security by disabling the root connection''' : Allow administrative command line access over secure shell NO
 
{{Note box| you need to forward in your router the port 22 (or whatever you decide) to your internal sme's ip and '''allow ssh in the server-manager with the root login and Password Authentication''' (Security/Remote Access menu). '''You can enhance security by disabling the root connection''' : Allow administrative command line access over secure shell NO
 
Keep in mind that you need '''to set the service to public access (entire internet)''' if you want to be accessible by ssh outside of you network (see the [[Denyhosts]] contrib for banning hosts which failed too many login attempts to your ssh deamon.)  }}
 
Keep in mind that you need '''to set the service to public access (entire internet)''' if you want to be accessible by ssh outside of you network (see the [[Denyhosts]] contrib for banning hosts which failed too many login attempts to your ssh deamon.)  }}
 +
 +
===Access to the server-manager throught SSH===
 +
 +
We can access to the server-manager of your sme by SSH with a tunneling protocol initiated by "ssh -L". This command has to be done by a superuser in a Terminal as if you want to be connected to your terminal of sme by SSH. We assume that ports are forwarded in your router to your sme internal IP (443 and 22)
 +
 +
Do this in a root terminal of your Linux computer outside of your network
 +
 +
ssh -L 443:localhost:443 root@your-static-external-network-IP-or-host.dyndsn.org
 +
 +
host.dyndsn.org could be a free service as [http://dyn.com/dns/ dyndns.org] or [http://www.noip.com/ noip.com]
 +
 +
Then you need to use this specific URL in your WEB Browser to go to the server-manager
 +
 +
https://localhost/server-manager
    
==Command-Line Quick Reference Guide==
 
==Command-Line Quick Reference Guide==

Navigation menu