Configuring Communication Services

Configuring SSH

 

Command or Action

Purpose

Step 6

Server /http # set timeout seconds

Sets the number of seconds to wait between HTTP

 

 

requests before the CIMC times out and terminates the

 

 

session.

 

 

Enter an integer between 60 and 10,800. The default is

 

 

1,800 seconds.

Step 7

Server /http # commit

Commits the transaction to the system configuration.

This example configures HTTP for the CIMC:

Server# scope http

 

 

 

 

Server /http # set enabled yes

 

 

 

Server /http *# set http-port 80

 

 

Server /http *# set https-port

443

 

 

Server /http *# set http-redirect yes

 

 

Server /http *# set timeout 1800

 

 

Server /http *# commit

 

 

 

 

Server /http # show

 

Active Sessions Enabled HTTP Redirected

HTTP Port

HTTPS Port Timeout

---------- ----------

--------

---------------

-------

----------------

80

443

1800

0

yes

yes

Server /http #

Configuring SSH

Before You Begin

You must log in as a user with admin privileges to configure SSH.

Procedure

 

Command or Action

Purpose

Step 1

Server# scope ssh

Enters the SSH command mode.

Step 2

Server /ssh # set enabled {yes no}

Enables or disables SSH on the CIMC.

Step 3

Server /ssh #

set ssh-port number

Sets the port to use for secure shell access. The default

 

 

 

is 22.

Step 4

Server /ssh #

set timeout seconds

Sets the number of seconds to wait before the system

 

 

 

considers an SSH request to have timed out.

 

 

 

Enter an integer between 60 and 10,800. The default

 

 

 

is 300 seconds.

Step 5

Server /ssh #

commit

Commits the transaction to the system configuration.

Step 6

Server /ssh #

show [detail]

(Optional) Displays the SSH configuration.

 

Cisco UCS C-Series Servers Integrated Management Controller CLI Configuration Guide, Release 1.5

134

OL-28893-01

Page 150
Image 150
Cisco Systems UCSCPCIEBTG, 57712 manual Configuring SSH, Server# scope ssh, Set ssh-port number, Set timeout seconds