Juniper Networks C2000, C4000 manual Configuring the System to Accept SSH and Telnet Connections

Models: C4000 C2000

1 76
Download 76 pages 40.79 Kb
Page 39
Image 39

Chapter 5: Setting the Initial Configuration

[edit interfaces eth0]

user@host# set unit 0 family inet broadcast 192.2.0.255

4.Verify the interface configuration.

[edit interfaces eth0] user@host# show unit 0 {

family { inet {

broadcast 192.2.0.255;

}

}

}

Configuring the System to Accept SSH and Telnet Connections

You can enable SSH and Telnet to let users who have the appropriate privileges connect to the system. For security reasons, we recommend that you do not allow remote users to access the CLI as root. The system does not allow root access over a Telnet connection. For more information, see SRC–PE Getting Starting Guide, Chapter 7, Configuring Remote Access to a C–series Platform.

To configure the system to accept SSH connections:

1.From configuration mode, access the [edit system services ssh] hierarchy level.

2.(Optional) Specify whether or not to allow root login through SSH.

[edit system services ssh]

user@host> set root-login(allow deny deny-password)

where:

allow— Allow users to log in to the C-series platform as root through SSH.

deny— Disable users from logging in to the system as root through SSH.

deny-password Allow users to log in to the system as root through SSH when the authentication method (for example, RSA authentication) does not require a password. (Default)

Configuring the System to Accept SSH and Telnet Connections 25

Page 39
Image 39
Juniper Networks C2000, C4000 manual Configuring the System to Accept SSH and Telnet Connections