cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

Extreme Switch Telnet asks for Password First

Extreme Switch Telnet asks for Password First

vaiku
New Contributor

When i telnet to extreme switch it asks for password first.

Rather than asking for Username/Password.

Escape character is '^]'.

 

telnet session telnet0 on /dev/ptyb0

 

password:

 

 

1 ACCEPTED SOLUTION

Miguel-Angel_RO
Valued Contributor II
14 REPLIES 14

Miguel-Angel_RO
Valued Contributor II

vaiku,

If you try with a telnet client what is the behaviour?

If it is not the same the issue rely on the expect layer.

 

What you coud do there is check for the input ā€œ

telnet session telnet0 on /dev/ptyb0

 

password:ā€ and if it occurs, just send a carriage return to go to the username password.

 

Could you share the login part of the script?

Mig

vaiku
New Contributor

It's a expect script that does the login and port change.

if I telnet to the switch this is what I see.

Escape character is '^]'.

 

telnet session telnet0 on /dev/ptyb0

 

password:

enter key then it asks for sure name and password.

Miguel-Angel_RO
Valued Contributor II

vaiku,

Here my output with the same settings on 30.7.1.1:

telnet session telnet0 on /dev/ptyb0


login: admin

password:

ExtremeXOS

Copyright (C) 1996-2020 Extreme Networks. All rights reserved.

This product is protected by one or more US patents listed at https://www.extremenetworks.com/company/legal/patents/ along with their foreign counterparts.

==========================================================================


Press the <tab> or '?' key at any time for completions.

Remember to save your configuration changes.

There have been 3 successful logins since last reboot and 2 failed logins since last successful login

Last Successful Login was on: Wed Nov 18 11:13:49 2020

* X435-8P-2T-W.1 #

 

Is SSH enabled on those switches?

What is the behaviour with SSH?

Did you configured radius authentication?

Mig

Miguel-Angel_RO
Valued Contributor II

Strange,

 

Are you using a specific telnet client sending the username automatically?

If so, could you test with a command line telnet connection?

Mig

vaiku
New Contributor

show conf detail | in telnet

# Module telnetd configuration.

enable telnet

configure telnet port 23

configure telnet vr all

GTM-P2G8KFN