D-Link DFL-260E User Manual for DFL-260E - Page 41
Logging on to the CLI, Changing the, User Password, Enter, admin, my-password, LocalUserDatabase
View all D-Link DFL-260E manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 41 highlights
2.1.4. The CLI Chapter 2. Management and Maintenance platforms. NetDefendOS supports version 1, 1.5 and 2 of the SSH protocol. SSH access is regulated by the remote management policy in NetDefendOS, and is disabled by default. Example 2.2. Enabling SSH Remote Access This example shows how to enable remote SSH access from the lannet network through the lan interface by adding a rule to the remote management policy. Command-Line Interface gw-world:/> add RemoteManagement RemoteMgmtSSH ssh Network=lannet Interface=lan LocalUserDatabase=AdminUsers Web Interface 1. Go to: System > Remote Management > Add > Secure Shell Management 2. Enter a Name for the SSH remote management policy, for example ssh_policy 3. Select the following from the dropdown lists: • User Database: AdminUsers • Interface: lan • Network: lannet 4. Click OK Logging on to the CLI When access to the CLI has been established to NetDefendOS through the serial console or an SSH client, the administrator will need to logon to the system before being able to execute any CLI command. This authentication step is needed to ensure that only trusted users can access the system, as well as providing user information for auditing. When accessing the CLI remotely through SSH, NetDefendOS will respond with a login prompt. Enter the username and press the Enter key, followed by the password and then Enter again. After a successful logon, the CLI command prompt will appear: gw-world:/> If a welcome message has been set then it will be displayed directly after the logon. For security reasons, it is advisable to either disable or anonymize the CLI welcome message. Changing the admin User Password It is recommended to change the default password of the admin account from admin to something else as soon as possible after initial startup. User passwords can be any combination of characters and cannot be greater than 256 characters in length. It is recommended to use only printable characters. To change the password to, for example, my-password the following CLI commands are used. First we must change the current category to be the LocalUserDatabase called AdminUsers (which exists by default): 41