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

Community Helping Community

7805
Views
3
Helpful
6
Replies
Highlighted
Beginner

SSH NOT WORKING

Hello ,

            I have an switch 2960 and i have made an SSH connection . But the problem is that whenever i try to open with my teraterm or putty it ask for username and after that password but does take the password. It shows an error of password what should be the problem.

Commands that i entered to make SSH

config# username admin password pankaj

config# ip domain-name home.local

config# crypto key generate rsa

config# 1024

config# ip ssh version 2

pankaj sharma
Everyone's tags (4)
6 REPLIES 6
Beginner

Re:SSH NOT WORKING

Can you post your "line vty" settings?

VIP Mentor

Re:SSH NOT WORKING

Hi Pankaj,

Plase try this:

Conf t

line vty 0 4

Login local

Transport input telnet ssh

exit

username admin password pankaj

ip domain name home.local

crypto key generate rsa

1024

ip ssh version 2

If this is not working then please paste your config.

Please rate if it helps.

Thanks

Hall of Fame Master

SSH NOT WORKING

The title of this thread is that SSH is not working. But I believe that if you get the prompt for user name and password that SSH is working because if SSH were not establishing the session then there would not be a prompt for user name and password. It sounds like the problem is in authentication (or perhaps authorization). The best way to verify whether SSH is working is to use the command show ip ssh. If it comes back and tells you what version of SSH is enabled (should be version 2 according to your post) then SSH is working.

I agree that it may be helpful to see the configuration of the vty lines. It would also be helpful to see the configuration of aaa.

HTH

Rick

If you found this post helpful, please let the community know by clicking the helpful button!
By doing so, and until end of January, you are helping Doctors Without Borders
Beginner

SSH NOT WORKING

line vty 0

transport input ssh telnet

pankaj sharma
VIP Mentor

Re:SSH NOT WORKING

Hi Sharma ji,

If your problem is solved then please mark this question as answered.

Dhanyawad

Regards

Advisor

SSH NOT WORKING

Hi,

Could you post output of sh run | s aaa

Regards.

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.
CreatePlease to create content
Content for Community-Ad