
[edit]
root@#
set system root-authentication ssh-dsa
public-key
or
[edit]
root@#
set system root-authentication ssh-rsa
public-key
13.
(Optional) Configure the static routes to remote subnets with access to the
management port. Access to the management port is limited to the local subnet. To
access the management port from a remote subnet, you need to add a static route
to that subnet within the routing table. For more information about static routes, see
the
Junos OS System Basics Configuration Guide
.
[edit]
root@#
set routing-options static route
remote-subnet
next-hop
destination-IP
retain
no-readvertise
14.
Configure the telnet service at the [edit system services] hierarchy level.
[edit]
root@#
set system services telnet
15.
(Optional) Display the configuration to verify that it is correct.
[edit]
root@#
show
system {
host-name host-name;
domain-name domain-name;
backup-router address;
root-authentication {
authentication-method (password | public-key);
}
name-server {
address;
}
}
interfaces {
fxp0 {
unit 0 {
family inet {
address address/prefix-length;
}
}
}
}
16.
Commit the configuration to activate it on the router.
[edit]
root@#
commit
17.
(Optional) Configure additional properties by adding the necessary configuration
statements. Then commit the changes to activate them on the router.
[edit]
root@host#
commit
18.
When you have finished configuring the router, exit configuration mode.
97
Copyright © 2010, Juniper Networks, Inc.
Chapter 11: Configuring Junos OS
All manuals and user guides at all-guides.com