Habilitar servidor SSH en versión V300R002 en Router AR

Publicado 2019-8-5 12:04:33Última respuesta ag. 18, 2019 12:21:13 32 2 0 0
  Recompensa Goldies : 0 (solución de problemas)

Hola.

 

Estoy probando SSH en mi Router AR1220, este cuenta con la versión V300R002.

 

Pero al ingresar el comando, stelnet server enable este me lo muestra como error.

 

Por favor, su apoyo.

 

Gracias.


  • x
  • convención:

Respuestas destacadas
VIP Publicado 2019-8-5 12:05:25 Útil(0) Útil(0)
Necesitamos saber la version que estas utilizando, ya que existen algunas diferencias entre algunas versiones. Y claro tiene que ver mucho si es un AR o un NE. Te comparto a continuacion la informacion de un NE.


Difference in SSH Between V3R1 and V3R2

Publication Date:  2012-07-27 Views:  118 Downloads:  0

transparent.gif Issue Description

After the NE40E is upgraded from V3R1 to V3R2, the device cannot be accessed through SSH with a trap record saying that the SSH server denies the access. 
Version before the upgrade: NE40E&80E V300R001C01B052. 
Version after the upgrade: NE40E&80E V300R002C06B323. 
 

transparent.gif Alarm Information

Null 

transparent.gif Handling Process

Do as follows to modify the related configuration of the SSH. 
The first configuration solution: two configurations are needed to realize SSH. 
stelnet server enable 
―A newly added command to V3R2. This command is needed for SSH to log in. 
ssh authentication-type default password 
― Enable this command and then SSH users employ automatically the users created in the aaa without the need to configure ssh user in the system view. 
The second configuration solution: Add each SSH user and specify the service type of the user to support stelnet. By doing so, SSH can be realized. For example: 
stelnet server enable 
ssh user username 
ssh user username authentication-type password 
ssh user username service-type stelnet 
― This command must be configured to select the service type. 
 

transparent.gif Root Cause

The realization of the original V3R1: 
There is only one solution: to specify the authentication type as password when adding each SSH user. The configuration of the current network: 
aaa 
local-user X.X.X.X.X password cipher .;\V:$N$01=B,.\#C3YB91!! 
local-user X.X.X.X.X service-type ssh 
local-user X.X.X.X.X level 3 
ssh user X.X.X.X.X authentication-type password 
user-interface vty 0 4 
authentication-mode aaa 
user privilege level 3 
protocol inbound all 
The realization of the current V3R2: 
The first configuration solution: two configurations are needed to realize SSH. 
stelnet server enable 
― A newly added command to V3R2. This command is needed for SSH to log in. 
ssh authentication-type default password 
― Enable this command and then SSH users employ automatically the users created in the aaa without the need to configure ssh user in the system view. 
The second configuration solution: Add each SSH user and specify the service type of the user to support stelnet. Thus, SSH can be realized. For example: 
stelnet server enable 
ssh user username 
ssh user username authentication-type password 
ssh user username service-type stelnet 
― This command must be configured to select the service type. 
Because the sftp and stelnet functions are added to the V3R2, the service-type command is added to the configuration for users to choose different service types and to ensure a better security. 
Users can choose a solution based on their needs. The application of the two solutions at the same time has the same effect. 
  • x
  • convención:

Todas las respuestas
Luis_Cazares VIP Publicado 2019-8-5 12:05:25 Útil(0) Útil(0)
Necesitamos saber la version que estas utilizando, ya que existen algunas diferencias entre algunas versiones. Y claro tiene que ver mucho si es un AR o un NE. Te comparto a continuacion la informacion de un NE.


Difference in SSH Between V3R1 and V3R2

Publication Date:  2012-07-27 Views:  118 Downloads:  0

transparent.gif Issue Description

After the NE40E is upgraded from V3R1 to V3R2, the device cannot be accessed through SSH with a trap record saying that the SSH server denies the access. 
Version before the upgrade: NE40E&80E V300R001C01B052. 
Version after the upgrade: NE40E&80E V300R002C06B323. 
 

transparent.gif Alarm Information

Null 

transparent.gif Handling Process

Do as follows to modify the related configuration of the SSH. 
The first configuration solution: two configurations are needed to realize SSH. 
stelnet server enable 
―A newly added command to V3R2. This command is needed for SSH to log in. 
ssh authentication-type default password 
― Enable this command and then SSH users employ automatically the users created in the aaa without the need to configure ssh user in the system view. 
The second configuration solution: Add each SSH user and specify the service type of the user to support stelnet. By doing so, SSH can be realized. For example: 
stelnet server enable 
ssh user username 
ssh user username authentication-type password 
ssh user username service-type stelnet 
― This command must be configured to select the service type. 
 

transparent.gif Root Cause

The realization of the original V3R1: 
There is only one solution: to specify the authentication type as password when adding each SSH user. The configuration of the current network: 
aaa 
local-user X.X.X.X.X password cipher .;\V:$N$01=B,.\#C3YB91!! 
local-user X.X.X.X.X service-type ssh 
local-user X.X.X.X.X level 3 
ssh user X.X.X.X.X authentication-type password 
user-interface vty 0 4 
authentication-mode aaa 
user privilege level 3 
protocol inbound all 
The realization of the current V3R2: 
The first configuration solution: two configurations are needed to realize SSH. 
stelnet server enable 
― A newly added command to V3R2. This command is needed for SSH to log in. 
ssh authentication-type default password 
― Enable this command and then SSH users employ automatically the users created in the aaa without the need to configure ssh user in the system view. 
The second configuration solution: Add each SSH user and specify the service type of the user to support stelnet. Thus, SSH can be realized. For example: 
stelnet server enable 
ssh user username 
ssh user username authentication-type password 
ssh user username service-type stelnet 
― This command must be configured to select the service type. 
Because the sftp and stelnet functions are added to the V3R2, the service-type command is added to the configuration for users to choose different service types and to ensure a better security. 
Users can choose a solution based on their needs. The application of the two solutions at the same time has the same effect. 
  • x
  • convención:

Marban Moderador Publicado hace 3 días Útil(0) Útil(0)
generalmente, ssh se puede habilitar con stelnet enable
  • x
  • convención:

Me%20gusta%20compartir%20informaci%C3%B3n%20y%20experiencias%2C%20aprender%20nuevos%20temas%20y%20conocer%20gente%20con%20el%20mismo%20inter%C3%A9s

Responder

Responder
Debe iniciar sesión para responder la publicación Inicio de sesi | Registrarse

Aviso: Para garantizar sus legítimos derechos e intereses, la comunidad y los terceros no publicarán contenido que pueda generar riesgos legales a las partes, por ejemplo, pornografía, contenido político, contenido sobre juego, consumo y tráfico de drogas, así como contenido que viole los derechos de propiedad intelectual de terceros, por ejemplo, secretos comerciales, marcas, derechos de autor, patentes y privacidad personal. No comparta su cuenta ni su contraseña con terceros. Todas las operaciones realizadas usando su cuenta se considerarán como sus acciones y todas las consecuencias que estas acciones generen serán responsabilidad suya. Para obtener información detallada, consulte la “ Política de privacidad.”
Si el botón para adjuntar no está disponible, actualice Adobe Flash Player con la versión más reciente

¡Ingresa y disfruta de todos los beneficios para los miembros!

Aterrizaje
Respuesta rápida Desplácese hasta arriba