This manual describes how to use the Smart Terminal to connect to devices, execute commands, review results, and manage your session effectively.
The Smart Terminal is your primary interface for interacting with connected devices. It provides an intelligent chat-like environment where you can enter commands, receive clear results, and even review proposed actions. You can manage your terminal session, activate special permissions, and switch between an intelligent view and a raw SSH console. The terminal assists you by highlighting commands that require special attention, such as administrator privileges or user input, and allows for automated execution sequences.
You can access this page by navigating to: /devices_connect
Here are common ways you can use the Smart Terminal to achieve your tasks:
Type a command like ls -l into the command input field at the bottom of the screen. Then, press the Enter key on your keyboard or click the 'Send' (paper airplane) button. The terminal will execute the command on the connected device, and its output will be displayed in the chat history area.
If you need to run commands that require special permissions (like installing software), click the 'Administrator User Toggle' (shield icon) in the header. If the system prompts you, confirm the activation. This will grant you temporary elevated permissions for your commands.
After entering a prompt (e.g., "install Apache web server"), the terminal might suggest a series of commands. These will appear in the "Proposed commands" list. You can review each command, edit it directly in its text field, remove it using the 'Remove Command' (trash can) icon, or execute individual commands with the 'Play Command' (play arrow) icon next to them.
Once you are satisfied with a list of proposed commands, you can save them for later use. Click the 'Save as script' (floppy disk) icon. A dialog will appear asking you to enter a filename (e.g., install_apache). Enter your desired name and confirm. The script will be saved to the device.
To run all proposed commands sequentially, click the 'Play All Commands' (playlist play) icon. The terminal will execute them one after another. Execution will stop automatically if any command encounters an error.
If you prefer to see the direct, unfiltered output from the device, click the 'Show SSH Console' (console window) icon in the header. You will be taken to a raw SSH terminal view. To return to the intelligent terminal, look for a similar button or option within the raw console interface.
To remove all previous commands and their results from the chat history, look for a 'Clear Terminal' option (often found within a menu or represented by a trash can icon). Clicking this will reset the display.
When you are finished, click the 'Disconnect Terminal Session' (exit door) icon in the header. A confirmation message will appear, and your connection to the device will be safely closed.
Understanding potential issues can help you troubleshoot effectively:
If a command you execute requires administrator privileges (e.g., apt update to update system packages) and you have not activated the 'Administrator User Toggle' (shield icon), the command will likely fail with a "Permission denied" error. To fix this, simply activate the administrator user mode before running such commands.
Some commands might need you to provide additional information during their execution, such as a password or a 'yes/no' confirmation. If the "User input required" warning is displayed and you proceed without preparing for this, the command might stop or fail. Ensure you know what input is expected; sometimes you can include the input directly in the command (e.g., adding -y for "yes" confirmation), or be ready to type it if the terminal supports interactive prompts.
If your terminal session remains idle for an extended period without any activity, the connection might automatically close to save resources. If this happens, you will need to reconnect to the device to continue your work. While the system sends "keep-alive" signals, very long periods of no user interaction can still lead to a disconnection.