SSH (Secure Socket Shell) - SSH का use Telnet की तरह ही हमारे Networking devices को remotely Access करने के लिये किया जाता है।
Telnet को आपका SSH Replace कर रहा हैं क्योकि Telnet में जो data exchange होता है वो Plain Text में होता हैं और उसे कोई भी third party आसानी से Read कर सकती हैं। SSH में data encrypted होता हैं जिसे सिर्फ client अपनी key डा Use करके decrypt करके पड़ सकता हैं।
● SSH asymmetric method का Use करती हैं जो बहुत ज्यादा Secure हैं।
● SSH Client-Server Model Protocol हैं।
● SSH में authentication के लिये public & private key का use किया जाता हैं।
● SSH में client and server दोनों को certificate verification करना पड़ता हैं।
● SSH Client को username and password के साथ key भी भेजना पड़ता है तभी server connection request accept करता हैं।
● SSH port no 22 पर work करता हैं।
SSH Configuration Command -
Router>ena
Router#configuration terminal
Router(config)#line vty 0 15
Router(config-line)#password 1234
Router(config-line)#login local
Router(config-line)#exit
इसके बाद आपको privilege mode का password set करना पड़ेगा।
Router(config)# enable Secret ccnp
where ccnp password है।
ये सारी steps हम Telnet में भी करते हैं, इसके बाद हमे SSH के लिये कुछ और configuration करनी पड़ेगी।
दोस्तो Router by default Telnet mode में होता है तो उसे हम SSH में convert करते हैं नीचे दी हुई command से -
Router(config)#line vty 0 15
Router(config-line)# transport input SSH
Router(config-line)# exit
Router(config)# username Pradeep password 4321
Router(config)# ip domain-name ccna.com
Router(config)# crypto key generate rsa
Router(config)#y
नोट :- username and password आप अपने अनुसार रख सकते हो और domain name आप अपने नेटवर्क का दे सकते हो और key size आप 360 से 2048 के बीच में से कुछ भी दे सकते हैं।
SSH configuration होने के बाद आप command prompt में जाकर diagram के according type कीजिये।
जहा username pradeep and 10.0.0.1 मेरे Router का IP Address हैं।
Thanks Have a gud day..
Follow for more updates
(Label - ssh in hindi,ssh wokring in hindi,ssh basic concept in hindi,secure shell in hindi,how ssh works in hindi)
0 Comments