04-04-2013 07:45 PM - edited 03-11-2019 06:23 PM
Hi Everyone,
When i have no ssh connection to ASA i do
sh ssh sessions it shows blank that is ok.
When i ssh to ASA from outside interface i ran the command
ciscoasa# sh ssh sessions
SID Client IP Version Mode Encryption Hmac State Username
0 192.168.5.2 2.0 IN aes128-cbc sha1 SessionStarted cisco1
OUT aes128-cbc sha1 SessionStarted cisco1
Need to understand when i have only 1 ssh session to ASA why does it show
Mode in and out ?
encryption with 2 entries and state and username with 2 entries ?
Regards
Mahesh
Solved! Go to Solution.
04-04-2013 08:31 PM
Hello Sr,
Nice to see you around again
I would say that Cisco would explain it way better than me so here you go
The Mode column describes the direction of the SSH data streams. For SSH version 2, which can use the same or different encryption algorithms, the Mode field displays in and out. For SSH version 1, which uses the same encryption in both directions, the Mode field displays nil (`-') and allows only one entry per connection.
The following example demonstrates the output of the show ssh sessions command:
hostname# show ssh sessions
SID Client IP Version Mode Encryption Hmac State Username
0 172.69.39.39 1.99 IN aes128-cbc md5 SessionStarted pat
OUT aes128-cbc md5 SessionStarted pat
1 172.23.56.236 1.5 - 3DES - SessionStarted pat
2 172.69.39.29 1.99 IN 3des-cbc sha1 SessionStarted pat
OUT 3des-cbc sha1 SessionStarted pat
04-04-2013 08:31 PM
Hello Sr,
Nice to see you around again
I would say that Cisco would explain it way better than me so here you go
The Mode column describes the direction of the SSH data streams. For SSH version 2, which can use the same or different encryption algorithms, the Mode field displays in and out. For SSH version 1, which uses the same encryption in both directions, the Mode field displays nil (`-') and allows only one entry per connection.
The following example demonstrates the output of the show ssh sessions command:
hostname# show ssh sessions
SID Client IP Version Mode Encryption Hmac State Username
0 172.69.39.39 1.99 IN aes128-cbc md5 SessionStarted pat
OUT aes128-cbc md5 SessionStarted pat
1 172.23.56.236 1.5 - 3DES - SessionStarted pat
2 172.69.39.29 1.99 IN 3des-cbc sha1 SessionStarted pat
OUT 3des-cbc sha1 SessionStarted pat
04-06-2013 09:29 AM
Thanks again Julio
Mahesh
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: