5–2
MULTINET4 MULTI-PORT SERIAL SERVER & MANAGED SWITCH – INSTRUCTION MANUAL
THE CLI AND PROTOCOL MONITOR
CHAPTER 5: THE CLI AND PROTOCOL MONITOR
Note
For SSH to operate an SSH key must have been generated. See
5.2.2.11: The ssh
Command.
Login to the CLI using the same username and password you use for the browser-based
Multinet4 Administration program. The following example uses the default username and
password, but any password changes you make in the Multinet4 Administration: Change
Password screen will also apply to the CLI:
Login
: manager
Password
: manager
Multinet4# _
5.1.1
Multinet4 support for SFTP
Multinet4 supports the Secure File Transfer Protocol (SFTP) to complement the CLI. An SFTP
server on the Multinet4 creates a set of virtual directories that you can use to upgrade
software or to check configuration and log files.
Note
SFTP works cooperatively with SSH technology. To use SFTP with Multinet4 you must have
generated an SSH key. If you have not generated an SSH key do so with the keygen
command, which is a member of the ssh command set. (See
5.2.2.11: The ssh Command
.)
The SFTP server implements a virtual file system on the Multinet4 device containing the
following directory structure:
/
logs/
config/
swupgrade/
These directories cannot be renamed or deleted and no other directories may be created
by any user.
•
Logs Directory – The contents of the
/logs
directory can be displayed by all users.
The directory listing contains all of the log file names as they would be displayed by
the Events>Logs>Files screen in the browser-based management system. (See
4.3.1.2:
Logs: Files
The following access limitations apply to the
/logs
directory:
• Files may be read via the SFTP get command by
all
users.
• Files may be deleted
only by an administrator
using the SFTP
rm
command.
• The
put
command is
always rejected
in the
/logs
directory.
• The
rename
command is
always rejected
in the
/logs
directory.
For more on managing log files through the CLI see
5.2.2.5: The log Command
.
•
Config Directory – The contents of the
/config
directory may be displayed by all
users. The directory listing contains all of the config file names as they would be
displayed by the Administration>Configuration: Files screen in the browser-based
management system. (See
4.2.11.1: Configuration: Files
.)
The following access limitations apply to the
/logs
directory:
• Files may be read via the SFTP get command by
all
users.