beautypg.com

Setting administrative access for ssh or telnet – Fortinet FortiLog-400 User Manual

Page 89

background image

FortiLog CLI reference

Connecting to the CLI

FortiLog Administration Guide

05-16000-0082-20050115

89

10

Type the password for this administrator and press Enter.
The following prompt appears:
Welcome!
You have connected to the FortiLog CLI, and you can enter CLI commands.

Setting administrative access for SSH or Telnet

To configure the FortiLog unit to accept SSH or Telnet connections, you must set
administrative access to SSH or Telnet for the FortiLog interface to which your
management computer connects. To use the web-based manager to configure
FortiLog interfaces for SSH or Telnet access, see

“Admin” on page 46

.

To use the CLI to configure SSH or Telnet access

1

Connect and log into the CLI using the FortiLog console port and your terminal
emulation software.

2

Use the following command to configure an interface to accept SSH connections:

set system interface port1 config allowaccess ssh

3

Use the following command to configure an interface to accept Telnet connections:

set system interface port1 config allowaccess telnet

Note: Remember to press Enter at the end of command. As well, remember to type end and
press Enter to commit the changes to the FortiLog configuration.

This manual is related to the following products: