advanex1 wrote: » What IP did you assign the router and its interface? What are you trying to accomplish? As far as your SSH issue.. what did you do to configure SSH on the router? Did you place the #transport input ssh command within your line vty 0 4? Did you create a username and password? Did you assign it a domain? Did you run the #crypto key generate rsa command? From there you can use the #ip ssh command to modify what you want.
advanex1 wrote: » Set line vty to: #login local You have to authenticate your ssh connections, either with a local login or AAA authentication: Assign user name and password using the #username (username) password (password) command and try it again. If you can, post your #show run and #show ip ssh Just realized you want to do both as well instead of just one or the other.. Set line vty to: #transport input telnet ssh or #transport input all (for now)
advanex1 wrote: » Any luck on either?
advanex1 wrote: » What IP address do you have the host assigned and on what port is the switch connected?
advanex1 wrote: » I'm running out of options, my Jedi is not as strong as it once was. Have you configured the management vlan on the switch? Can you give me a show run of the switch?
advanex1 wrote: » ip domain-name aaronslab.com ip ssh time-out 120 ip ssh authentication-retries 3 ip ssh version 2 Can you change the domain name to the same as the router for shits and giggles? Can you also try and ssh from the switch into the router instead of your PC first? If that doesn't work, try and remove the SSH information from your switch and try again.
advanex1 wrote: » in the enable prompt type: #ssh 192.168.1.30 - it should prompt you for your user name and password if not try #ssh -l (username) 192.168.1.30 If you created crypto keys on the switch, you need to type #crypto key zeroize rsa I believe. Do me a favor too, run show ssh on your router.
advanex1 wrote: » try SW1# ssh 192.168.1.30 NOT 192.168.1.35 (you assigned 35 as your host IP) I tried using either of those commands you told me yet it does it work as well. SW1#ssh -| AaronsSwitch 192.168.1.30 ^ % Invalid input detected at '^' marker. SW1# ssh -l (L) Aaron 192.168.1.30 (the -l identifies a user name) We are trying to troubleshoot connecting through SSH to your router, we are not trying to connect to your host. What I'm really going to laugh about.. is if this whole time you've been trying to SSH into yourself... Not laughing to make fun of you.. but laughing in general because it's an easy thing to look over.
advanex1 wrote: » You're using -| and not -l (lower case L). SW1# ssh -l (lowercase L) Aaron (not aaronsswitch)192.168.1.30 Copy and paste this into your enable mode on the switch: ssh -l Aaron 192.168.1.30 If your host (PC) has an IP address of 192.168.1.35, how would you SSH into yourself? You'd have to try and SSH into your router where the SSH authentication is. You assigned the router an IP address of 192.168.1.30, so you'd try and SSH into it there. Ping your router from your switch and then if you receive a good ping try and telnet into your router from your switch: SW1# telnet 192.168.1.30 and let me know what happens
advanex1 wrote: » Okay, try the SSH without the "-l Aaron" this time and let me know what happens. I'm going to look up the error and grab some lunch, I'll be right back. It looks like the session is opening, so I'm not sure why it's aborting.
advanex1 wrote: » Interesting, so it opens a session when you place the "-l Aaron" but then it closes due to an abort error... Like I said, I'm not that strong with the force anymore. I'll keep looking for the error. In the mean time, try and use other usernames and passwords. Create them first, then use them in the "-l (username)" command. Also, try and zeroize the keys on the router, then run the generate key command again. Then try and login.