Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents

request server authenticate-peer-server

date_range 19-Nov-23

Syntax

request server authenticate-peer-server

Description

Copy the ssh public key to the peer JDM. This command is equivalent to ssh-copy-id user@jdm-server<0/1>.

Note:

If the JDM fails to establish SSH connection with its peer on either of the two CB links, you need to run the JDM CLI command request server authenticate-peer-server. You can use the JDM CLI command show server connections to view the status of the SSH connection between the JDM peers. Note that the command request server authenticate-peer-server will prompt for user confirmation twice - once per CB link.

Required Privilege Level

View

Sample Output

command-name

content_copy zoom_out_map
user@jdm> request server authenticate-peer-server
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out anythat are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys
user@jdm-server1's password:

Number of key(s) added: 1

Now try logging into the machine, with:   "ssh 'user@jdm-server1'"
and check to make sure that only the key(s) you wanted were added.

Release Information

Command introduced in Junos OS Release 17.4R1.

footer-navigation