Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Is it possible to remove Username Login prompt from SSH?

Hi There,

Is it possible to remove the username login prompt when using SSH for authentication to switches?

Thanks

Dan

5 REPLIES
Green

Re: Is it possible to remove Username Login prompt from SSH?

No Sir, there is not.

Good Luck

Scott

Hall of Fame Super Gold

Re: Is it possible to remove Username Login prompt from SSH?

Dan

It may depend on your SSH client. I observe that if I am logged in on a Cisco router that supports SSH client (as well as server), and if I initiate SSH to another Cisco device, then I do not get a prompt for user name and get only the prompt for password (which is the behavior described in the original post). Since the client already knows my user name it supplies that to the new SSH server and only presents the prompt for password. I can not speak to whether there are other SSH clients with the same behavior.

HTH

Rick

New Member

Re: Is it possible to remove Username Login prompt from SSH?

Thanks guys,

I am using putty as the client,no big deal for me really, someone just mentioned with telnet they didn't need to use a login, it would go straight to the password prompt.

With SSH I guess this is an added security layer.

Dan

Re: Is it possible to remove Username Login prompt from SSH?

Hi Daneil,

even you can make a telnet to ask for user name & password with the following command.

aaa new-model

username xxxxx privilege 15 password xxxxx

line vty 0 4

privilege level 15

transport input ssh

since additional line is added in the line vty 0 4 interface "transport input ssh", even SSH uses the same username & password which telnet uses.

Re: Is it possible to remove Username Login prompt from SSH?

HI Daniel, [Pls Rate if Helps]

One Concept: using RSA Private Key & Public Key we can meet your requirement.

Generate Private Key & Public Key using SSH & this key's should be trusted with the Switches.

So, from the next logon session the keys will be verified & logon will be successful. If the authentication is specified as Keyboard Interactive means you need to input the "Secret Phase answer" / if not means no username & password required for the same.

PLS RATE if Helps

Best Regards,

Guru Prasad R

482
Views
1
Helpful
5
Replies
CreatePlease to create content