What is telnet [Teletype Network]:
-> Telnet is a network protocol that allows users to remotely
access and control computers over a network.
-> It is a client-server protocol that uses text-based input and
output to establish a connection with a remote computer.
How does Telnet work?
-> Telnet uses the Transmission Control Protocol/Internet Protocol (TCP/IP)
to connect to remote computers.
-> The remote computer acts as a server and waits for commands from the
client.
-> A client-server connection is established over TCP port 23.
Configuration :
Router# configure terminal
Router(config)#line vty 0 4
Router(config-line)#password network
Router(config-line)#login
How to Access Telnet:
It can be from any device like router,
Computer.
What is SSH [ Secure Shell ]
-> Secure Shell (SSH) is a network protocol that allows secure
communication between computers over an unsecured network.
-> It's often used to remotely access and manage systems and applications.
-> Connection is established over TCP port 22.
How SSH works ?
-> Uses cryptography to authenticate and encrypt connections between
devices.
-> Uses public key cryptography to verify the identity of the server.
-> Uses strong symmetric encryption and hashing algorithms to protect data
Router(config)#username john password ccna@123
Router(config)#line vty 0 15
Router(config-line)#login local
Router(config-line)#transport input ssh
Router(config-line)#ip domain name ict.com
R1(config)#crypto key generate rsa
How many bits in the modulus [512]: 1024
R1#show crypto key mypubkey rsa
% Key pair was generated at: 0:23:47 UTC March 1 1993
Key name: R1.ict.com
Storage Device: not specified
Usage: General Purpose Key
Key is not exportable.
Key Data:
00001155 000002c5 00001ee6 00003163 00005cbe 00002be6 00001db5 0000719f
0000644a 000041c0 000046eb 000064f6 00002fa0 000018f2 000019fa 0000551e
00004969 00001a11 00000372 00004979 00007454 0000329d 00005a23 1fa2
% Key pair was generated at: 0:23:47 UTC March 1 1993
Key name: R1.ict.com.server
Temporary key
Usage: Encryption Key
Key is not exportable.
Key Data:
0000315e 00005233 00003786 00001246 00007b50 00004805 00002f59 00002235
00005b89 00001488 00002a8a 000015b8 00003bfd 0000036c 00006956 00000226
00001a7e 000021d1 000070b2 000013b2 0000013b 000064b8 000066ea 0787
How to SSH:

What is telnet, SSH.pptx 123456789106987456

  • 1.
    What is telnet[Teletype Network]: -> Telnet is a network protocol that allows users to remotely access and control computers over a network. -> It is a client-server protocol that uses text-based input and output to establish a connection with a remote computer.
  • 2.
    How does Telnetwork? -> Telnet uses the Transmission Control Protocol/Internet Protocol (TCP/IP) to connect to remote computers. -> The remote computer acts as a server and waits for commands from the client. -> A client-server connection is established over TCP port 23.
  • 4.
    Configuration : Router# configureterminal Router(config)#line vty 0 4 Router(config-line)#password network Router(config-line)#login How to Access Telnet: It can be from any device like router, Computer.
  • 5.
    What is SSH[ Secure Shell ] -> Secure Shell (SSH) is a network protocol that allows secure communication between computers over an unsecured network. -> It's often used to remotely access and manage systems and applications. -> Connection is established over TCP port 22.
  • 6.
    How SSH works? -> Uses cryptography to authenticate and encrypt connections between devices. -> Uses public key cryptography to verify the identity of the server. -> Uses strong symmetric encryption and hashing algorithms to protect data
  • 8.
    Router(config)#username john passwordccna@123 Router(config)#line vty 0 15 Router(config-line)#login local Router(config-line)#transport input ssh Router(config-line)#ip domain name ict.com R1(config)#crypto key generate rsa How many bits in the modulus [512]: 1024
  • 9.
    R1#show crypto keymypubkey rsa % Key pair was generated at: 0:23:47 UTC March 1 1993 Key name: R1.ict.com Storage Device: not specified Usage: General Purpose Key Key is not exportable. Key Data: 00001155 000002c5 00001ee6 00003163 00005cbe 00002be6 00001db5 0000719f 0000644a 000041c0 000046eb 000064f6 00002fa0 000018f2 000019fa 0000551e 00004969 00001a11 00000372 00004979 00007454 0000329d 00005a23 1fa2 % Key pair was generated at: 0:23:47 UTC March 1 1993 Key name: R1.ict.com.server Temporary key Usage: Encryption Key Key is not exportable. Key Data: 0000315e 00005233 00003786 00001246 00007b50 00004805 00002f59 00002235 00005b89 00001488 00002a8a 000015b8 00003bfd 0000036c 00006956 00000226 00001a7e 000021d1 000070b2 000013b2 0000013b 000064b8 000066ea 0787
  • 10.