NE20E cannot login with SSH

Created Aug 25, 2018 09:18:11 218 0 0 0
Issue Description

SSH login other device through NE20E router fail, and the fail info is "Info: The connection was closed by the remote host." User us PC1 login the NE20E-1 first, and then SSH login NE20E-2, but login fail. 

9a79dee541454a84b42ffee8aa9272ab
 


transparent.gif Alarm Information

<NE20E-1>stelnet 192.168.1.1 -vpn-instance mgt 

Trying 192.168.1.1 ...

Press CTRL + K to abort

Connected to 192.168.1.1 ...

The server is not authenticated. Continue to access it? [Y/N]: y

Save the server's public key? [Y/N]: y

The server's public key will be saved with the name 192.168.1.1. Please wait...

Error: The number of public keys reached the upper limit (20).

Error: Failed to save the server's public key.


Please input the username: test

Enter password: 


Info: The connection was closed by the remote host.


transparent.gif Handling Process

1. Checking SSH configuration on NE2E-1 and NE20E-2, confirm the configuration is right. 

2. Confirming the user name and password is right. 

3. Checking the number of public keys on NE20E-1, it reached the upper limit (20).

transparent.gif Root Cause

The number of public keys reached the upper limit (20).

transparent.gif Solution

Delete the public keys on NE20E-1 with following step:

1. Delete "ssh client x.x.x.x assign rsa-key" first.

2. Delete "rsa peer-public-key x.x.x.x".

#

rsa peer-public-key x.x.x.x 

public-key-code begin

  30820109

    02820100

      E5A93DC8 04BA05C3 03D25ED5 D4B88F12 73D328E9 B3FD8B6F B8EDC1AC FFD364ED

      CC9A0BCB 067D436D 2B0EBC09 39DE0C63 C8A2BDEB 53A6729B F9FC67BA 00E4436D

      8BF1C1F4 8144C5BF 041A521D A63468C4 46308CA6 EDB64CC6 6AFF950F D459BFAA

      87279F11 6E5A5649 8AA19CA2 5D2A49CE 3266C37A 4D0D909D EB5499B8 FB6392C5

      9300CC08 10A28CA6 F61EB07D 0F4D2F9E F3B4721A 8DE3CE8B DBCED463 E785D57B

      5F55DAA1 2731ED15 A6A0E282 2D1EAFF2 C8C7705C 44DCD6FE ADA555C7 A1AE6037

      EAD244E0 E544AE43 372EAC6C AEEB6F0A 0A6D82C0 1EAA6C98 B1FB959F 41A8C48C

      99A70140 A770469E A53A5500 2C8629DC 9E56BDA8 4D80DCB8 AF1537FB 79176847

    0203

      010001                              

 public-key-code end

peer-public-key end

#

  • x
  • convention:

Responses

Reply
You need to log in to reply to the post Login | Register

Notice:To ensure the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but not limited to politically sensitive content, content concerning pornography, gambling, drug abuse and trafficking, content that may disclose or infringe upon others' intellectual properties, including commercial secrets, trade marks, copyrights, and patents, and personal privacy. Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see“ Privacy Policy.”
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Fast reply Scroll to top