you need to set up ip domain-name because in order to creat encrpted password, you need to define username, ip domain-name and password.
hash alghorism reders those.
BUT you can configure as following. I just did and made sure it worked just now. ^^
====== config =======
step 1. ip ssh rsa keypair-name cisco
step 2. username cisco password 0 ccie
step 3. line vty 0 4
transport input ssh
step 4. Rack19r1(config)#crypto key generate rsa general-keys label cisco
The name for the keys will be: cisco
Choose the size of the key modulus in the range of 360 to 2048 for your
General Purpose Keys. Choosing a key modulus greater than 512 may take
a few minutes.
How many bits in the modulus :
% Generating 512 bit RSA keys, keys will be non-exportable...[OK]
Rack19r1#sh crypto key mypubkey rsa
% Key pair was generated at: 11:27:44 UTC Jun 27 2007
Key name: cisco
Usage: General Purpose Key
Key is not exportable.
305C300D 06092A86 4886F70D 01010105 00034B00 30480241 00B21FF5 9462464D
9FB4BCF0 B7E3F2FB 6EEFF876 E47D21C1 E1FB4E7F E4F2D1CC E72CC690 5B2B1D46
BF232E36 E9FD534C 3266FCB9 44F3F91B BDF18731 FC48D487 41020301 0001
% Key pair was generated at: 11:27:45 UTC Jun 27 2007
Key name: cisco.server
Usage: Encryption Key
Key is not exportable.
307C300D 06092A86 4886F70D 01010105 00036B00 30680261 009FE29E 208BEE91
6B94E74D 2E986806 AEC3A864 93A7BB35 57DEE4B4 14DCAC89 02A879D6 7FD52A44
853E2A7F FDAF13B4 914403FA D11C11E8 A5602A99 7B6EEF12 371F2885 04EDDF82
A8C27AB8 A19833E2 B63D143F 57CA4F82 9E4088F0 3113129A 73020301 0001
In opposited router
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 126.96.36.199, timeout is 2 seconds:
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/29/32 ms
Rack19r2#ssh -l cisco 188.8.131.52
TRY THIS solution. ^^
sorry for late response. I am a korean so local time is different.
Without ip domain-name 'ABC.DEF' you will not be able to generate an RSA key pair (in this case, self-signed certificates.) The RSA keys are required to initiate an SSH session because they are used to encrypt/decrypt the data that makes up the SSH session.
This concept may sound confusing, or too in depth, but learning these concepts of the SSH session and configuration will ALWAYS be handy, as an engineer/admin you will be doing this configuration on almost every device on your production network.
How to configure ssh on switch3750
1.connect to serial cable to usb3.0 laptop
2.open putty and click on serial button.(please check attached screen shot)
Generate the RSA Keys
now connect port 3/0/1 through lan and give ip on lan port 192.168.10.1 and check gateway 192.168.10.1 is able to ping or not