cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
594
Views
0
Helpful
4
Replies

ssh

ayoussef82
Level 1
Level 1

how i can use ssh with cisco devices?

4 Replies 4

sachinraja
Level 9
Level 9

hello yousseft,

you can configure cisco devices to accept ssh connections.. which device do you want to use with ssh ?? for eg, on a PIX, you can enable ssh by the command:

ssh inside 192.168.1.0 255.255.255.0

this will enable ssh on the inside interface and anybody on the subnet 192.168.1.0/24 can access..

similarly, on a router , you can use the command :

ip ssh {timeout} {retries}

you must have a hostname and domain preconfigured for ssh access. you can have a look at this URL for some information on configuring SSH:

http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/products_configuration_guide_chapter09186a00800ca7d5.html#33255

Hope this helps.. all the best.. rate replies if found useful..

Also, dont forget to generate the RSA keypair on the pix... easy thing to forget. had me stuck for quite some time....

example:

conf t

ca generate rsa key

ca save all

br

//Krister

scottmac
Level 10
Level 10

Depending on your IOS version, you might only be able to use SSH v1 (DES or 3DES, depending on your license).

Telnet is never allowed from the outside, perhaps SSH is also limited (I haven't tried it).

FWIW

Scott

On IOS devices you are restricted to SSH ver 1 through 12.3. IOS supports SSH ver 2 in 12.3T code.

HTH

Rick

HTH

Rick