السلام عليكم ورحمة الله وبركاتة
اخواني اريد اعدادت لبرتوكول ssh مع الشرح انا عارف انه مهمتة نفس الtelnet ولكن مشفرة . ابغى الاعدات مع الشرح يعافيكم ربي
اخواني وجدت الاعدات ومشروحه كمان وهذي للفايدة
SSH Configuration Facts
SSH (Secure Shell) is a secure and acceptable alternative to Telnet. SSH uses RSA public key cryptography for both connection and authentication. Use the following commands to configure SSH on a VTY line.
Example
Use . . . To . . . router_name(config)#crypto key generate rsa Generate a matched public and private key pair, as well as a shared encryption key. To generate the key pair, the device must have both a hostname (other than Router) and an ip domain-name configured. router_name(config)#aaa new-model
router_name(config)#username <value> password <value>Enable advanced security features for authentication and configure a local username and password that will be used for SSH authentication. router_name(config-line)#transport input ssh
router_name(config-line)#transport input telnet
router_name(config-line)#transport input telnet sshTell the device which type of connections to allow. Use the telnet or ssh keyword to identify the type of allowed access. Use both keywords to accept both access types.
The following commands configure SSH to accept a username of admin with a password of cisco, allowing only SSH on lines VTY 0-4:
RouterA#config t
RouterA(config)#ip domain-name westsim.com
RouterA(config)#crypto key generate rsa
RouterA(config)#aaa new-model
RouterA(config)#username admin password cisco
RouterA(config)#line vty 0 4
RouterA(config-line)#transport input ssh
المفضلات