09-23-2009 06:50 AM - edited 03-11-2019 09:18 AM
When I am trying to access one of the device through putty I am getting error.
but when I tried to telnet with port 22 to that device ip , I can see port as open.
I am trying with public IP , assuming it is natted in other end FW.
What would be the reason ?
09-23-2009 07:48 AM
Best is to go over your ssh implementation, take a look at this link and compare it to your configuration.
if still not joy post config
09-23-2009 08:01 AM
Sorry I think I confused you , I do not want to setup ssh in FW.
scenario:
I can telnet 216.88.36.91 22 from cmd prompt , but I am not able to connect using putty and getting error - network error.
09-23-2009 08:15 AM
Sorry too.. missed understood !
Use SSHv2 , I just tested ssh to that address using different ssh client from yours and got error saying sshv2, once I change my client to use sshv2 worked.
[edit]
in your putty ssh section select to connect using ssh protocol version 2.
09-23-2009 09:31 AM
Mahin, is your problem solved or still having issues?
09-23-2009 09:35 AM
In my putty it is version 2 only,but it does not work.
Could you attach the setup file of putty which you are using?
09-23-2009 10:23 AM
Primarily use SecureCRT client - see attached.. I don't use putty but just loaded a copy from another system in lab-what would the config file name be don't seem to fine one..
In any event.. it must be your client settings - I launch putty and also worked .. in putty under SSH settings is configured as
09-23-2009 10:39 AM
09-23-2009 10:50 AM
Seem like the rsa key pair hasn't been created.
Pls. follow this procedure to enable ssh on the firewall.
Ssh 0 0 outside
Crypto key generate rsa modulus 1024
Username Cisco password Cisco priv 15
Aaa authentication ssh console LOCAL
Aaa authentication enable console LOCAl
http://www.cisco.com/en/US/docs/security/asa/asa80/configuration/guide/mgaccess.html#wp1042023
Bear in mind, you can only ssh to the closest interface of the firewall.
Meaning, you cannot be on the inside and try to ssh to the outside interface IP address.
09-23-2009 11:12 AM
Kureli, I believe Mahin is trying to ssh to an internal system running ssh not the firewall itself .. I thought that at the begining as well.. above procedure will not resolve this issue.
Regards
[edit]
Mahin.. in your putty client go to SSH settings and under Encryption cipher selection policy: have AES(SSH-2only) as the first TOP choice in the order - see if that helps
09-24-2009 02:30 AM
Let me clear the scenario once again.
I am trying to ssh to 216.88.36.91.
we have two ISP connection ,lets say ISP1 and ISP2.
ISP1 is connected to 515E FW and ISP2 is connected to another 515E FW.
I can access through the second ISP2 that is our Backup ISP , but through the second ISP 1 I am getting error which I attached earlier.
If you need FW logs I can forward you that.
09-25-2009 05:51 AM
Do you have any idea on this ?
09-25-2009 05:54 AM
Im not to clear about your setup, so you have two PIXes one being the primary ISP1 and other PIX as secondary ISP2.. so you have two different Public IP blocks?
what is the default route point to in the system running ssh in relation to PIX ISP1 and ISP2.
now what Im not to clear either is that I have tested your ssh connection using 216.88.36.91 and it worked.. so Im assuming you have NAT setup in PIX off ISP2 using 216.88.36.91 address.. are you using different address for ISP1.
if you could provide some fw logs while you try connecting to ssh that would help.
Regards
09-25-2009 06:21 AM
Thanks John for clarifying.
I am not sure about the topology. I thought I posted this yesterday but may have missed to hit the post button.
|--ISP1--FW1--Host1
Internet--
|---ISP2--FW2--Host2
Now, which device owns this IP address 216.88.36.91?
I tried to ssh to 216.88.36.91 and it failed. I got the same message "Network error: Connection timed out".
Do the inside of the two firewalls belong to the same subnet?
Where is the source which is trying to ssh live?
What do you see in the logs when you attempt this SSH and when it fails?
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