Is it possible to remove Username Login prompt from SSH?

Unanswered Question
May 29th, 2007

Hi There,

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



I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 1 (1 ratings)
Richard Burts Tue, 05/29/2007 - 18:40


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.



daniel.akinin Tue, 05/29/2007 - 19:22

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.


Anand S Tue, 05/29/2007 - 20:52

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.

guruprasadr Tue, 05/29/2007 - 21:14

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


This Discussion