05-29-2007 05:19 PM - edited 03-03-2019 05:12 PM
Hi There,
Is it possible to remove the username login prompt when using SSH for authentication to switches?
Thanks
Dan
05-29-2007 06:15 PM
No Sir, there is not.
Good Luck
Scott
05-29-2007 06:40 PM
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
05-29-2007 07:22 PM
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
05-29-2007 08:52 PM
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.
05-29-2007 09:14 PM
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
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: