1. Langkah-langkah setting ssh 2 client dicisco menggunakan RSA Key Pairs:
|
Step 1
|
enable
Example:
Router> enable
|
Enables privileged EXEC mode.
• Enter your password if prompted.
|
|
Step 2
|
configure terminal
Example:
Router# configure terminal
|
Enters global configuration mode.
|
|
Step 3
|
ip ssh rsa keypair-name keypair-name
Example:
Router (config)# ip ssh rsa keypair-name sshkeys
|
Specifies which RSA keypair to use for SSH usage.
Note A Cisco IOS router can have many RSA key pairs.
|
|
Step 4
|
crypto key generate rsa usage-keys label
key-label modulus modulus-size
Example:
Router (config)# crypto key generate rsa
usage-keys label sshkeys modulus 768
|
Enables the SSH server for local and remote authentication on the router.
For SSH Version 2, the modulus size must be at least 768 bits.
Note To delete the RSA key-pair, use the crypto key zeroize rsa command. After you have deleted the RSAcommand, you automatically disable the SSH server.
|
|
Step 5
|
ip ssh [timeout seconds | authentication-retries integer]
Example:
Router (config)# ip ssh timeout 120
|
Configures SSH control variables on your router.
|
|
Step 6
|
ip ssh version [1 | 2]
Example:
Router (config)# ip ssh version 1
|
Specifies the version of SSH to be run on a router.
|
2. masuk ke interface
Router (config)#line vty 0 4
TarDtl-3745-sto(config-line)#transport input all
link : http://www.cisco.com/en/US/docs/ios/12_3t/12_3t4/feature/guide/gt_ssh2.html
October 16, 2008
Posted by
wyulansa |
Cisco |
Setting ssh di cisco |
No Comments Yet