Knowledge
SSH and Telnet are both protocols for remote access, but there are differences between the two:
Security: SSH provides encrypted communication, while Telnet is insecure and sends data in clear text.
Port numbers: SSH uses port 22, Telnet uses port 23.
Functionality: SSH provides secure terminal emulation and also supports file transfers, while Telnet only provides terminal emulation.
Authentication: SSH uses public key and password-based authentication, Telnet only uses password-based authentication.
In general, SSH is preferred over Telnet for remote access due to its security and additional functionality.
Skill
Setting the environment
Configure the interfaces
Configure the ssh encryption keys
Below are the commands to generate encryption keys. The domain name given is FOC, the router name is changed to FOC1 and the bits assigned is 1024. (the greater the number the higher level of encryption but speed is impacted
Configure the password for ssh login
Testing
On the command prompt of the pc. Type the ssh -l ..... (then the username and the ip address)
You should now have access via ssh (make sure to type an IP address into your PCs configuration that is on the same network ie 172.16.0.2)
Telnet
Secure the Switch
Configure the VLAN
Configure remote login with telnet
Configure the number of simultaneous connections and set the remote login password
Testing
Don't forget to give your PC/laptop an IP address within the same subnet. Telnet + the IP address of the switch. Here I will use the remote login password "friend" and after enable the switch config password "friends"
No comments:
Post a Comment