اس لیب میں آپ SSH کانفیگر کرنا، SFTP/SCP enable کرنا اور AAA کا concept سمجھیں گے۔ v2.0 میں SFTP/SCP نیا ٹاپک ہے۔
Is lab mein aap SSH configure karna, SFTP/SCP enable karna aur AAA ka concept samjhenge. v2.0 mein SFTP/SCP naya topic hai.
In this lab you'll configure SSH, enable SFTP/SCP, and understand the AAA concept. SFTP/SCP is a new topic in v2.0.
Telnet کا مطلب دروازے پر کھڑے ہو کر زور زور سے پاس ورڈ چلانا — سب سن لیتے ہیں۔ SSH کا مطلب کان میں سرگوشی — سب کچھ encrypted۔ SFTP/SCP اسی محفوظ راستے سے فائلز بھیجتے ہیں۔ AAA کا مطلب: پہلے پوچھو 'تم کون ہو' (Authentication)، پھر 'تمہیں کیا اجازت ہے' (Authorization)، پھر 'تم نے کیا کیا' لکھ لو (Accounting)۔
Telnet ka matlab darwaze par khare ho kar zor zor se password chilana — sab sun lete hain. SSH ka matlab kaan mein sargoshi — sab kuch encrypted. SFTP/SCP isi mehfooz raste se files bhejte hain. AAA ka matlab: pehle poocho 'tum kaun ho' (Authentication), phir 'tumhe kya ijazat hai' (Authorization), phir 'tumne kya kya kiya' likh lo (Accounting).
Telnet is like shouting your password at the door — everyone hears it. SSH is a whisper in the ear — everything encrypted. SFTP/SCP send files over that same secure path. AAA means: first ask 'who are you' (Authentication), then 'what are you allowed to do' (Authorization), then write down 'what you did' (Accounting).

R1 کا G0/0 PC1 سے connected (192.168.10.0/24)۔ Devices: 1x Router 2911 (R1), 1x PC۔ PC1: 192.168.10.10/24، گیٹ وے 192.168.10.1۔ Packet Tracer میں PC کا SSH client استعمال کرو۔
R1 ka G0/0 PC1 se connected (192.168.10.0/24). Devices: 1x Router 2911 (R1), 1x PC PC1: 192.168.10.10/24, gateway 192.168.10.1. Packet Tracer mein PC ka SSH client istemal karo.
R1's G0/0 is connected to PC1 (192.168.10.0/24). Devices: 1x Router 2911 (R1), 1x PC. PC1: 192.168.10.10/24, gateway 192.168.10.1. Use the PC's SSH client in Packet Tracer.
R1 پر SSH setup۔ SSH کے لیے domain-name اور RSA keys ضروری ہیں۔
R1 par SSH setup. SSH ke liye domain-name aur RSA keys zaroori hain.
SSH setup on R1. SSH needs a domain-name and RSA keys.
enableconfigure terminalip domain-name mylab.localcrypto key generate rsa modulus 1024پھر local user بناؤ اور VTY lines پر صرف SSH کی اجازت دو (telnet بند)۔
Phir local user banao aur VTY lines par sirf SSH ki ijazat do (telnet band)
Then create a local user and allow only SSH on the VTY lines (telnet off).
username admin privilege 15 secret admin123line vty 0 4transport input sshlogin localexitSFTP/SCP اور AAA۔ SCP server آن کرنے سے محفوظ file transfer ہوگا۔
SFTP/SCP aur AAA. SCP server on karne se mehfooz file transfer hoga.
SFTP/SCP and AAA. Enabling the SCP server gives secure file transfer.
ip scp server enableAAA آن کر کے بتاتے ہیں کہ login local users سے verify ہو۔
AAA on kar ke batate hain ke login local users se verify ho
Turning on AAA means logins are verified against local users.
aaa new-modelaaa authentication login default localaaa authorization exec default localTesting: PC سے SSH کرو (R1 کا IP) — connect ہونا چاہیے۔
Testing: PC se SSH karo (R1 ka IP) — connect hona chahiye.
Testing: SSH from the PC (R1's IP) — it should connect.
Telnet try کرو — refuse ہونا چاہیے۔ یہی فرق ہے محفوظ اور غیر محفوظ کا۔
Telnet try karo — refuse hona chahiye. Yehi farq hai mehfooz aur ghair-mehfooz ka.
Try telnet — it should be refused. That's the difference between secure and insecure.
show ssh سے active sessions دیکھو۔ show crypto key mypubkey rsa سے keys کنفرم کرو۔
show ssh se active sessions dekho. show crypto key mypubkey rsa se keys confirm karo.
Check active sessions with show ssh. Confirm keys with show crypto key mypubkey rsa.
show sshshow crypto key mypubkey rsa