Friday, 26 July 2019

TELNET AND SSH

 TELNET AND SSH(Secure Shell):


 Telnet:


(1).  It is used to remotely control /access the Router.
(2). the port no. is define as 23.
(3). Telnet is based on tcp & it can be used to have an interface tcp connection of protocols.
(4). To login the server ,telnet assign username and password.
(5). it is unseccured.



TELNET AND SSH  SETUP

Telnet configuaration:-

 for telnet confiquaration we should follow bellow cmd in system cli.


step(1).
line vty 0 4(here we can write any number for confiquaration from no. of computer. example  : we want to access tellnet from 3 computer then we write there 0 2. ).
NOTE: Any system can access only 16 computer for telnet at one time.

 step(2).
login local
step3.
username  abc  password cisco@200 (you can use any username/ passwoed in place of abc / cisco@200).
step4. 
exit.
step5.
enable secret xyz(xyz is a password can change it).
step 6. do write.
in this fig is telnet confi. in router.




In fig here laptop 7 is used for remotely configuration.
CONFIGURATION IN REMOTLY COMPUTER 7

in fig show you configuration in laptop 7.


SSH(Secure SHell):-
  1. SSH stand for secure shell .
  2. SSh was developed by SSH community security ltd.
  3. Secure shell is a protocol used for a secure connection between two system . in this protocols ,the client machine initiates a connection with a server machine.
  4. The clienttransmit it authentication info to the server such as  ausername and password in an encrypted form.
  5. The entire data send recieve during the connectio  is  transfered using strong 512 bits encryption ,making it extremly different and strong realistic.

SSH CMD:-

Note :- SSh support RSA encrypted mode.
step 1. line vty 0 5.
step2. login local
step3. exit
step4. username xyz  password abc (here xyz and abc are username and password respectively. you cant change it.)
step5. enable secret xxx
step 6. hostname r2 (hostname is must required for ssh confiquaration).
step7. ip domaim name example.com(can ive any domain name)
step 8. crypto key generate rsa



Now go to pc 7 in commond
step1. ssh-l (it is L not one) admin 192.168.1.1  (here admin means username xyz)
step2. password

No comments:

Post a Comment

thanks , i will appriciate.