request server authenticate-peer-server
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
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.