Line 6: |
Line 6: |
| | | |
| === Download === | | === Download === |
− | [http://mirror.contribs.org/smeserver/contribs/michaelw/sme7/ajaxterm/smeserver-ajaxterm-1.0.3-0.noarch.rpm smeserver-ajaxterm-1.0.3-0.noarch.rpm] | + | [http://mirror.contribs.org/smeserver/contribs/michaelw/sme7/ajaxterm/smeserver-ajaxterm-1.0.4-0.noarch.rpm smeserver-ajaxterm-1.0.4-0.noarch.rpm] |
| | | |
| === Installation === | | === Installation === |
− | yum localinstall smeserver-ajaxterm-1.0.3-0.noarch.rpm | + | yum localinstall smeserver-ajaxterm-1.0.4-0.noarch.rpm |
| This installs and starts the Ajaxterm service. There is no need for the signal-event post-upgrade/reboot | | This installs and starts the Ajaxterm service. There is no need for the signal-event post-upgrade/reboot |
| | | |
Line 23: |
Line 23: |
| service ajaxterm restart | | service ajaxterm restart |
| Ajaxterm runs the 'ssh' command to login to a host. You are asked for hostname or IP, ssh port, username and password. If localhost or 127.0.0.1 is given as the host Ajaxterm falls back to the 'su --login USER' login command. | | Ajaxterm runs the 'ssh' command to login to a host. You are asked for hostname or IP, ssh port, username and password. If localhost or 127.0.0.1 is given as the host Ajaxterm falls back to the 'su --login USER' login command. |
| + | |
| + | ==== Browser login (Basic Auth) ==== |
| + | By default login with user ''admin'' is required on browser login. You can change this to any other user or a list of users separated by blanks. |
| + | config setprop Ajaxterm basicAuthUsers "user [user] ..." |
| + | expand-template /etc/httpd/conf/httpd.conf |
| + | service httpd-e-smith restart |
| | | |
| ==== Ajaxterm service port ==== | | ==== Ajaxterm service port ==== |
| By default Ajaxterm runs as a service (a python script) listening on port 8022. You can change the port using the following commands: | | By default Ajaxterm runs as a service (a python script) listening on port 8022. You can change the port using the following commands: |
| config setprop Ajaxterm servicePort NEWPORT | | config setprop Ajaxterm servicePort NEWPORT |
| + | expand-template /etc/httpd/conf/httpd.conf |
| + | service httpd-e-smith restart |
| service ajaxterm restart | | service ajaxterm restart |
− | service httpd-e-smith restart
| |
| | | |
| === Usage === | | === Usage === |