Book now with code EOY2025
thehourman wrote: » About the ip domain-name, do I have to have a domain name to make it to work?
CiskHo wrote: » No. You could use cnn.com or ANYTHING you wanted. It doesn't need to be a registered domain name in order for SSH to work
thehourman wrote: » I just want to make sure that I understand what you said. I can make up a random name and lets say thehourman.com, and use it for ip domain-name. The question is can I access my switch using ssh from outside my own network?
thehourman wrote: » Also, how am I going to copy the show crypto mypublic key rsa to my netbook for accessing the switch?
CiskHo wrote: » But for whatever reason I was unable to connect from the WAN side (only LAN worked for me). I even did port forwarding on my gateway router for port 22 (SSH) to be sent to my devices LAN IP but that didn't work. Could be my work was blocking outgoing port 22. I dunno... FWIW, I was using a registered domain name and then tried IP. Neither worked. But I am able to connect from my LAN with no problem.
ConstantlyLearning wrote: » The cisco device you were trying to connect to was probably missing a default gateway. Traffic coming from the WAN side was probably making it to the cisco device but the return traffic didn't know where to go because it didn't have a matching route.
CiskHo wrote: » Thx, will double check that. I know the device (2811 router) has ip default-gateway of my GW router (Linksys). The Linksys passes info to the 2811 just fine. I can ping the Linksys from devices/switches that I have behind the 2811 so I would think the gateway info was there. WAN--Linksys--2811--3550--2950 (2950 pings Linksys just fine). Pretty sure telnet was working too, just not SSH. Will recheck and post findings asap.
ConstantlyLearning wrote: » Can you ping public ip's from the 2811? To set a default gateway on the 2811 use a default static route. Don't use the ip default-gateway. ip route 0.0.0.0 0.0.0.0 [Linksys LAN interface IP] "The ip default-gateway command differs from the other two commands. It should only be used when ip routing is disabled on the Cisco router."Configuring a Gateway of Last Resort Using IP Commands - Cisco Systems
CiskHo wrote: » Many thanks for that info! I had ip default-gateway set to my Linksys. Removed that and entered static route. Can ping my WAN IP from 2811. Have enabled port forwarding for port 22 (SSH) on the Linksys to my 2811's IP and still can't connect via Putty from my work. Hoping to look more into this during the w/e. Any thoughts on what I should be looking out for? And sorry for the thread highjacking
CiskHo wrote: » I am able to SSH into the 2811 by hitting my WAN IP from my LAN wifi. However, I am still unable to SSH from work and hit the 2811. Cisco coworkers say SSH is not blocked from our work site. Also confirmed no ACLs are in place. Hmmm... will have to dig deeper.
hexem wrote: » Have you opened up the port on the linksys firewall ? i'd expect everything is being denied by default so you need to go add a specific rule for ssh.
super22 wrote: » Switch(config-line)#enable secret its-a-secret - this should ONLY configure the password for telnet/console Switch(config)#enable secret its-a-secret - this should ONLY configure the enable password maybe you can give us the whole config so we can take a better look:D
Use code EOY2025 to receive $250 off your 2025 certification boot camp!