07-18-2017 08:57 AM - edited 03-05-2019 08:52 AM
I have the following loopback interface in one of my equipments:
interface Loopback0
ip address 10.107.255.5 255.255.255.255
Also I have this in the equipment:
access-list 22 remark ****** VTY Access ACL ******
access-list 22 permit 10.107.34.72
access-list 22 permit 10.64.32.12
access-list 22 permit 10.154.5.21
access-list 22 permit 10.64.169.125
access-list 22 permit 10.195.32.35
access-list 22 permit 10.195.32.25
access-list 22 permit 10.195.32.24
access-list 22 permit 10.124.127.0 0.0.0.31
access-list 22 permit 10.195.127.0 0.0.0.31
access-list 22 permit 10.199.127.0 0.0.0.31
access-list 22 permit 10.68.127.0 0.0.0.31
access-list 22 deny any log
I made a traceroute from the machine I need access:
C:\Users\Administrator>tracert -d 10.107.255.5
Tracing route to 10.107.255.5 over a maximum of 30 h
1 <1 ms <1 ms <1 ms 10.154.5.1
2 2 ms 1 ms 1 ms 10.107.255.5
Trace complete.
But when I try connecting by ssh it shows a connection refused message
Thanks,
Solved! Go to Solution.
07-18-2017 09:30 AM
Hi Pablo,
Did you generate SSH RSA key on the device:
cry key generate
Regards,
Aditya
Please rate helpful and mark correct answers
07-18-2017 09:14 AM
Hello,
what does your configuration look like ? Like this ?
line vty 0 4
access-class 22 in
transport input all
password cisco
login
07-18-2017 09:22 AM
This is what I have
line vty 0 4
transport input ssh
07-18-2017 09:30 AM
Hi Pablo,
Did you generate SSH RSA key on the device:
cry key generate
Regards,
Aditya
Please rate helpful and mark correct answers
07-18-2017 11:44 AM
Enable the RSA cryto Key will affect anything in the configuration of the device?
07-18-2017 12:31 PM
Hi
It will just create 1 pair of RSA keys, private and public for SSH. The rest of the config will not be affected.
07-18-2017 09:41 AM
Hi Pablo,
If you are using local credentials, you should have something like:
no aaa new-model
ip domain name test.com
ip ssh ver 2
crypto key generate rsa (type 1024 at least and press enter)
line vty 0 15
transport input ssh
login local
access-class 22 in
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide