How Do I Log In to a Device as Root User and Disable Connection Timeout?
There are three types of timeouts you can control: SSHD, CLP (15 minutes), and shell timeout (5 minutes). CLP timeout cannot currently be disabled. The connection times out after 15 minutes, regardless of whether there have been any operations in that time or not. SSHD and shell timeouts, however, can be disabled.
- SSHD:
Log in to the system, using admin by default, and switch to the develop mode. Run vi /etc/ssh/sshd_config to find the statement PermitRootLogin no, and change it to PermitRootLogin yes.Figure 1 Disabling SSHD timeouts
Figure 2 Disabling SSHD timeouts
(By default, the following statements are not commented out. You can comment them out to allow for login from root.)
#ClientAliveInterval 0
#ClientAliveCountMax 0
#DenyUsers root
#DenyGroups root
Figure 3 Disabling SSHD timeouts
- Shell:
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot