Enabling SSH on your system
Sample Configuration on an EX Series Switch
Copyright © 2017, Juniper Networks, Inc.
See
"Configuring System Identity for an EX Series Switch (J-Web Procedure)" on
page 51
for more information.
To set through the CLI:
set system domain-name domain-name
set system host-name host-name
set system name-server dns-ip-address
SSH provides a secure method of logging in to the switch, and encrypting traffic so that
it is not intercepted. If SSH is not enabled on the system, the CLI terminal page displays
the error message:
To enable SSH on your system, do the following:
set system services ssh
Type the
command to enter the configuration mode:
configure
1.
user@switch> configure
Log in as host:
2.
user@switch# set system host-name host
Configure the encrypted password; for example:
3.
user@switch# set system root-authentication encrypted-password
"$1$mr3D4eVf$mc7y54e6hk4JuIpwWPao6."
Map the hostname to the IP address:
4.
user@switch# set system static-host-mapping host inet 10.9.221.31
Configure the IP address for the DNS server:
5.
user@switch# set system name-server 10.0.220.1
Enable the system services by using:
6.
set system services:user@switch# set system services ssh
Select
Troubleshoot > CLI Terminal
7.
Enter the password, and click
8.
page.
Chapter 3: J-Web Configuration Tools
. The password window is displayed.
. The CLI Terminal window appears on the J-Web
OK
43