ā10-25-2012 07:20 PM - edited ā03-11-2019 05:14 PM
Hi Everyone,
I found that ssh timeout command is only available when you console to ASA.
It is not available when you do the ssh connection to ASA is this default behaviour? or any reason behind it?
Thanks
Mahesh
Solved! Go to Solution.
ā10-25-2012 08:13 PM
when you say it's not available, what do you mean? Do you mean that it is NOT actually timing out after the configured timeout?
What do you configure the SSH timeout to be?
Pls kindly be advised that it is actually IDLE timeout, so you can't do any activities for that configured timeout, as it is IDLE. And once it hits the minutes configured on the idle timeout, the SSH connection will be disconnected. When you try to do something again afterwards, it will reconnect and prompt you for username and password.
ā10-25-2012 07:39 PM
Yes, there is command to configure the idle timeout for SSH connection to the ASA:
ssh timeout
Here is the command for your reference:
http://www.cisco.com/en/US/docs/security/asa/asa83/command/reference/s8.html#wp1561729
Hope that helps.
ā10-25-2012 08:10 PM
Hi Jennifer,
That command i know but my question was this that
ssh timeout is not available when i access the ASA through ssh connection.
Need to know if this is by design?
Thanks
Mahesh
ā10-25-2012 08:13 PM
when you say it's not available, what do you mean? Do you mean that it is NOT actually timing out after the configured timeout?
What do you configure the SSH timeout to be?
Pls kindly be advised that it is actually IDLE timeout, so you can't do any activities for that configured timeout, as it is IDLE. And once it hits the minutes configured on the idle timeout, the SSH connection will be disconnected. When you try to do something again afterwards, it will reconnect and prompt you for username and password.
ā10-25-2012 08:16 PM
Hi Jennifer,
My bad actually i overlooked the command.
it does have option
ciscoasa(config)# ssh ?
configure mode commands/options:
Hostname or A.B.C.D The IP address of the host and/or network authorized to
login to the system
X:X:X:X::X/<0-128> IPv6 address/prefix authorized to login to the system
scopy Secure Copy mode
timeout Configure ssh idle timeout ?????????????
version Specify protocol version to be supported
exec mode commands/options:
disconnect Specify SSH session id to be disconnected after this keyword
Thanks for help.
MAhesh
ā10-25-2012 08:28 PM
Not a problem. Glad that it's just an overlooked
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