Changes

Jump to navigation Jump to search
73 bytes added ,  19:02, 28 December 2014
Line 1: Line 1: −
===Enable SSH===
+
By default SME Server ssh access is '''disabled'''. The preferred way to enable ssh access is via the server manager's remote access section. As an alternative (if you do not yet have server manager access via https, ssh access can also be enabled via the command line:
* Enable ssh access (the lazy not-so-secure way, but I am assuming for this testing/dev scenario that your external IP is really a local address behind a router)
+
db configuration setprop sshd status enabled
<syntaxhighlight lang="Bash">
+
db configuration setprop sshd PermitRootLogin yes
db configuration setprop sshd status enabled
+
db configuration setprop sshd acccess public
db configuration setprop sshd PermitRootLogin yes
+
db configuration setprop sshd PasswordAuthentication yes
db configuration setprop sshd acccess public
+
/sbin/e-smith/signal-event remoteaccess-update
db configuration setprop sshd PasswordAuthentication yes
  −
/sbin/e-smith/signal-event remoteaccess-update
  −
</syntaxhighlight>
     −
Allow ssh in public or private mode : '''public'''= all internet '''private'''= only your network
      +
Allow ssh access in public or private mode : '''public'''= all networks (internet), '''private'''= only your local network
 
  db configuration sshd access public
 
  db configuration sshd access public
 
  signal-event remoteaccess-update
 
  signal-event remoteaccess-update
 +
 
[[Category:SSH]]
 
[[Category:SSH]]

Navigation menu