> - Downloads
> - Configuring a C Series Controller to Accept SSH Connections (SRC CLI)
> - Related Topics
> - Configuring a C Series Controller to Accept SSH Connections (C-Web Interface)
> - Configuring a C Series Controller to Accept Telnet Connections (SRC CLI)
> - Configuring a C Series Controller to Accept NETCONF Connections (SRC CLI)
> - Connecting to a Remote Host Through SSH

> # Configuring a C Series Controller to Accept SSH Connections (SRC CLI)

> You can enable SSH to let users who have the appropriate privileges connect to a C Series Controller. For security reasons, we recommend that you do not allow remote users to access the CLI as root.

> Use the following configuration statements to enable SSH access from the [edit] hierarchy level:

> `
> system services ssh {
>   root-login (allow | deny | deny-password);
>   protocol-version (v1 | v2);
> }
> `

> To configure the C Series Controller to accept SSH connections:

> 1. From configuration mode, access the [edit system services ssh] hierarchy level.
> 2. (Optional) Specify that SSH version 1 be used.
>    `
>    [edit system services ssh]
>    user@host> set protocol-version v1
>    `

>    SSH version 2 is enabled by default.

> 3. (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 Controller as root through SSH.
>    - deny—Disable users from logging in to the C Series Controller as root through SSH.
>    - deny-password—Allow users to log in to the C Series Controller as root through SSH when the authentication method (for example, RSA authentication) does not require a password. (Default)

> #### Published: 2009-09-25

> Copyright © 2009, Juniper Networks, Inc. All rights reserved. Trademark Notice.