ودعا للtelnet و اهلا ب ssh
الان نقول ودعا لل telnet غير الامن و نقول يا اهلا ب ssh
تسطيع استخدام اى ssh client like teraterm
and it encrypt all the trafic to the router (telnet plain text)
usama(config)#ip domain-name usama.com
usama(config)#crypto key generate rsa
the name for the keys will be: usama.usama.com
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 [512]: 512
% Generating 512 bit RSA keys, keys will be non-exportable...[OK]
00:02:34: %SSH-5-ENABLED: SSH 1.99 has been enabled
usama#sh crypto key mypubkey rsa
% Key pair was generated at: 00:02:34 UTC Mar 1 2002
Key name: usama.usama.com
Usage: General Purpose Key
Key is not exportable.
Key Data:
305C300D 06092A86 4886F70D 01010105 00034B00 30480241 00C563A8 5834F248
8935F60F F6A9FFD8 5717BECC 04D37663 E30FA912 A9A0AA6A 0B6225A2 ACB4DAFF
4F03D728 2262361F 1742007D 0825D5BF C9AFEDC1 A7CDDE10 A5020301 0001
% Key pair was generated at: 00:02:36 UTC Mar 1 2002
Key name: usama.usama.com.server
Usage: Encryption Key
Key is not exportable.
Key Data:
307C300D 06092A86 4886F70D 01010105 00036B00 30680261 00B832B4 D5E7398F
EC622261 A83BB73F C25A5D01 AEEAE35F 72406C7B 494E167E D88209A6 9B87E8A5
BAF3C3A6 60CDCABF 8B6278B9 C293FACF 13278FE2 50AD3AC8 5AB4891F A4BCB38E
D88EF438 71092CA3 3811D666 C5CB3374 4334166B 452BE2E7 8F020301 0001
usama(config)#line vty 0 871
usama(config-line)#transport input ssh
الامر الاخير هو لتحويل الدخول الى vty
عنطريق الssh and only ssh
if u want to make ssh & telnet
usama(config-line)#transport input ssh telnet
و اريد ان سأل كيف امسح بعض الملفات من على router flah
i used command dele flash:/name
and it write beside file name( when i do sh flash) deleted but it does not removed and
available size of flash still the same
رد: ودعا للtelnet و اهلا ب ssh
اقتباس:
المشاركة الأصلية كتبت بواسطة email_usama
و اريد ان سأل كيف امسح بعض الملفات من على router flah
i used command dele flash:/name
and it write beside file name( when i do sh flash) deleted but it does not removed and
available size of flash still the same
When you use the delete command it marks the files as deleted but it doesn't permanently delete them, this is done in purpose to allow file recovery
To permanently delete files on a Flash memory device, use the following command from privileged EXEC mode
squeeze filesystem:
When you issue the squeeze command, the router copies all valid files to the beginning of Flash memory and erases all files marked "deleted." At this point, you cannot recover "deleted" files, and you can now write to the reclaimed Flash memory space.
Note The squeeze operation can take as long as several minutes because it can involve erasing and rewriting almost an entire Flash memory space.
Read this document for farther information
https://www.cisco.com/en/US/docs/ios...fs.html#wp3761
رد: ودعا للtelnet و اهلا ب ssh
شكر على المرور و الرد
لكن انا عملت فعلا squeeze لكن هناك
erorr in log
ظهرت مش عارف هل هذه فعلا رساله حقيقيه ام انها نتيجه خطأ فى اعدادت الdynam
المفروض اساسا ان الاقى نسجه الios
على الفلاشه لكن
when do sh flash i can't see ios image
so i think error in my dynamp flash configuration