Change loginuser/root passwords and login to SSH on UTM/Astaro Security Gateway

  • Article ID: 115120
  • Rating:
  • 20 customers rated this article 4.0 out of 6
  • Updated: 04 Nov 2015

This article explains how to reset the passwords for the user accounts that can then be used to access your UTM via Secure Shell (SSH).

Known to apply to the following Sophos product(s) and version(s)
Astaro Security Gateway, Sophos UTM

Operating systems
V8, V9

How do I reset the UTM SSH 'loginuser' and 'root' passwords?

  1. From the UTM menu select 'Management' | 'System Settings'.
  2. Select the 'Shell Access' tab.
  3. Under the 'Shell user passwords' section enter the desired passwords for either user.
  4. Select 'Set specified password'.


  • On the 'Shell Access' tab you should also check other sections such as the 'Allow networks' section to ensure they are configured correctly
  • Setting the 'Allow networks' to 'Any' will allow all internet access to SSH login for your system.


Accessing the UTM via SSH

Connect via SSH port (TCP 22 by default) using your normal SSH utility program (e.g., PUTTY).

To login as the 'loginuser' type..

loginuser the SSH prompt and the associated password as set above.

To login as root (after you have logged in as 'loginuser') type...

su - the SSH prompt and the associated password set above.

Warning: Any modifications done by root will void your support. Instead use WebAdmin for any configuration changes.

If you need more information or guidance, then please contact technical support.

Rate this article

Very poor Excellent